Files
SIG/Nomina/PreNominaHistorial.aspx
JORGE LUIS CAUDILLO ESPARZA c35cf91883 Commit inicial Ventas Productivo
2019-08-14 16:40:54 -07:00

355 lines
20 KiB
Plaintext

<%@ Page Title="Nómina - Pre Nómina" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="PreNominaHistorial.aspx.vb" Inherits="Nomina_PreNominaHistorial" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:ImageButton ID="ImgExcel" runat="server" ImageUrl="/Imagenes/IconoExcel.gif" Width="17px" Height="17px" /></td>
<td>
<asp:UpdatePanel ID="UpnTools" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<a id="HLImgImprimir" runat="server" href="#" class="Texto">
<img alt="Imprimir" src="/Imagenes/btnImprimir.gif" height="17px" width="17px" /></a>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
</table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
Pre Nómina Historial
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
<asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<div class="portlet solid grey-cascade portlet-filter" style="">
<div class="portlet-title portlet-filterT" style="">
<div class="titlefiltros caption ">
<ul class="list-inline">
<li>Tipo Período:
<asp:DropDownList ID="DdlTipoPeriodo" runat="server" AppendDataBoundItems="true" AutoPostBack="true" DataTextField="TipoPeriodo" DataValueField="CveTipoPeriodo" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 120px !important;">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
</li>
<li>Período:
<asp:DropDownList ID="DdlPeriodo" runat="server" AppendDataBoundItems="true" DataTextField="NumPeriodo" DataValueField="CvePeriodo" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 200px !important;">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
</li>
<li>Proyecto:
<asp:DropDownList ID="DdlProyecto" runat="server" AppendDataBoundItems="true" AutoPostBack="true" DataTextField="Proyecto" DataValueField="CveProyecto" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 120px !important;" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
</li>
</ul>
</div>
<div class="tools">
<asp:Button ID="BtnConsultar" runat="server" Text="Consultar" class="btn btn-primary" />
<a href="javascript:;" class="expand"></a>
<a onclick="document.getElementById('C_BtnConsultar').click();" class="reload"></a>
</div>
</div>
<div class="portlet-body" style="display: none;">
<ul class="list-inline">
<li>SubProyecto:
<asp:DropDownList ID="DdlSubProyecto" runat="server" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 200px !important;" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
</li>
<li>Turno:
<asp:DropDownList ID="DdlTurno" runat="server" AppendDataBoundItems="true" DataTextField="Turno" DataValueField="CveTurno" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 100px !important;" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
</asp:DropDownList>
</li>
</ul>
</div>
</div>
<table id="TblHeader" runat="server" class="table table-striped table-advance table-hover" width="1385px">
<thead>
<tr class="Titulos">
<th rowspan="2" width="250px">Nombre</th>
<th colspan="3">Lunes&nbsp;<asp:Literal ID="LtlLunes" runat="server"></asp:Literal></th>
<th colspan="3">Martes&nbsp;<asp:Literal ID="LtlMartes" runat="server"></asp:Literal></th>
<th colspan="3">Miércoles&nbsp;<asp:Literal ID="LtlMiercoles" runat="server"></asp:Literal></th>
<th colspan="3">Jueves&nbsp;<asp:Literal ID="LtlJueves" runat="server"></asp:Literal></th>
<th colspan="3">Viernes&nbsp;<asp:Literal ID="LtlViernes" runat="server"></asp:Literal></th>
<th colspan="3">Sábado&nbsp;<asp:Literal ID="LtlSabado" runat="server"></asp:Literal></th>
<th colspan="3">Domingo&nbsp;<asp:Literal ID="LtlDomingo" runat="server"></asp:Literal></th>
<th rowspan="2" width="70px">&nbsp;Asis</th>
<th rowspan="2" width="40px">Faltas</th>
<%--<td rowspan="2" width="60px">&nbsp;% Sem&nbsp;</td>--%>
<th rowspan="2" width="60px">&nbsp;Hrs Ext</th>
<%--<td rowspan="2" width="65px">&nbsp;Hrs Trip&nbsp;</td>--%>
<th rowspan="2">&nbsp;</th>
</tr>
<tr class="Titulos">
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<%--<td width="60px">Hrs Trip</td>--%>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<%--<td width="60px">Hrs Trip</td>--%>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<%--<td width="60px">Hrs Trip</td>--%>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<%--<td width="60px">Hrs Trip</td>--%>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<%--<td width="60px">Hrs Trip</td>--%>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<%--<td width="60px">Hrs Trip</td>--%>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<%--<td width="60px">Hrs Trip</td>--%>
</tr>
</thead>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
<asp:UpdatePanel ID="UPDatos" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GvDatos" runat="server" AutoGenerateColumns="False" DataKeyNames="CvePersonal" EmptyDataText="No se encontraron Ventas con los filtros especificados" ToolTip="Pre Nómina" Width="1385px" CssClass="table table-striped table-advance table-hover" Style="margin-top: -10px; text-align: center;" GridLines="None">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlNombre" runat="server" Text='<%# Eval("Nombre") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="250px" />
</asp:TemplateField>
<%--Lunes--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlLu" runat="server" Text='<%# Eval("Lu") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="35px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlLu_Porcentaje" runat="server" Text='<%# Eval("Lu_Porcentaje") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlLu_HrsDobles" runat="server" Text='<%# Eval("Lu_HrsDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlLu_HrsTriples" runat="server" Text='<%# Eval("Lu_HrsTriples") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>--%>
<%--Martes--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlMa" runat="server" Text='<%# Eval("Ma") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="35px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlMa_Porcentaje" runat="server" Text='<%# Eval("Ma_Porcentaje") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlMa_HrsDobles" runat="server" Text='<%# Eval("Ma_HrsDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlMa_HrsTriples" runat="server" Text='<%# Eval("Ma_HrsTriples") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>--%>
<%--Miércoles--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlMi" runat="server" Text='<%# Eval("Mi") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="35px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlMi_Porcentaje" runat="server" Text='<%# Eval("Mi_Porcentaje") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlMi_HrsDobles" runat="server" Text='<%# Eval("Mi_HrsDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlMi_HrsTriples" runat="server" Text='<%# Eval("Mi_HrsTriples") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>--%>
<%--Jueves--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlJu" runat="server" Text='<%# Eval("Ju") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="35px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlJu_Porcentaje" runat="server" Text='<%# Eval("Ju_Porcentaje") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlJu_HrsDobles" runat="server" Text='<%# Eval("Ju_HrsDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlJu_HrsTriples" runat="server" Text='<%# Eval("Ju_HrsTriples") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>--%>
<%--Viernes--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlVi" runat="server" Text='<%# Eval("Vi") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="35px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlVi_Porcentaje" runat="server" Text='<%# Eval("Vi_Porcentaje") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlVi_HrsDobles" runat="server" Text='<%# Eval("Vi_HrsDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlVi_HrsTriples" runat="server" Text='<%# Eval("Vi_HrsTriples") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>--%>
<%--Sábado--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlSa" runat="server" Text='<%# Eval("Sa") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="35px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlSa_Porcentaje" runat="server" Text='<%# Eval("Sa_Porcentaje") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlSa_HrsDobles" runat="server" Text='<%# Eval("Sa_HrsDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlSa_HrsTriples" runat="server" Text='<%# Eval("Sa_HrsTriples") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>--%>
<%--Domingo--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlDo" runat="server" Text='<%# Eval("Do") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="35px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlDo_Porcentaje" runat="server" Text='<%# Eval("Do_Porcentaje") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="30px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlDo_HrsDobles" runat="server" Text='<%# Eval("Do_HrsDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlDo_HrsTriples" runat="server" Text='<%# Eval("Do_HrsTriples") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlAsistencias" runat="server" Text='<%# Eval("Asistencias") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlFaltas" runat="server" Text='<%# Eval("Faltas") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlPorSemanal" runat="server" Text='<%# Eval("Porcentaje", "{0:N2}") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>--%>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlHorasExtras" runat="server" Text='<%# Eval("HorasDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>
<%--<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlHorasTriples" runat="server" Text='<%# Eval("HorasTriples") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="65px" />
</asp:TemplateField>--%>
<asp:TemplateField>
<ItemTemplate>
&nbsp;
</ItemTemplate>
</asp:TemplateField>
</Columns>
<RowStyle CssClass="Texto" />
<HeaderStyle CssClass="Titulos" />
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
</asp:Content>