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

327 lines
21 KiB
Plaintext

<%@ Page Title="Nómina - Pre Nómina" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepPreNomina.aspx.vb" Inherits="Nomina_RepPreNomina" %>
<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">
<asp:ImageButton ID="ImgExcel" runat="server" ImageUrl="/Imagenes/IconoExcel.gif" Width="17px" Height="17px" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
Pre Nómina
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
<table id="Tbl" runat="server" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table id="TblHeader" runat="server" class="table table-striped table-advance table-hover" width="1505px">
<thead>
<tr class="Titulos">
<th rowspan="2" width="180px">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>
<th rowspan="2" width="60px">&nbsp;Hrs Ext</th>
<th rowspan="2" width="60px">&nbsp;Bono</th>
<th rowspan="2" width="60px">&nbsp;Pago Adi</th>
<th rowspan="2" width="120px">&nbsp;Firma</th>
<th rowspan="2" width="70px">&nbsp;Corección&nbsp;</th>
<th rowspan="2">&nbsp;</th>
</tr>
<tr class="Titulos">
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
<th width="35px">Tipo</th>
<th width="30px">%</th>
<th width="40px">Hrs E</th>
</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" ShowHeader="false" EmptyDataText="No se encontraron Ventas con los filtros especificados" ToolTip="Pre Nómina" Width="1505px" 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="180px" />
</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>
<%--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>
<%--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>
<%--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="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>
<%--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>
<%--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="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="LtlHorasExtras" runat="server" Text='<%# Eval("HorasDobles") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlBono" runat="server" Text='<%# If(Eval("AplicaBono").ToString = "True", Eval("Importe", "{0:N2}"), "") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlPagoAdi" runat="server" Text='<%# Eval("PagoAdicional", "{0:###,###.##}") %>'></asp:Literal>
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlFirma" runat="server"></asp:Literal>
</ItemTemplate>
<ItemStyle Width="120px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlCorección" runat="server">&nbsp;</asp:Literal>
</ItemTemplate>
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
&nbsp;
</ItemTemplate>
</asp:TemplateField>
</Columns>
<RowStyle CssClass="Texto" />
<HeaderStyle CssClass="Titulos" />
</asp:GridView>
<br />
<center><b>CUALQUIER CORRECCIÓN DEBE SER ESPECIFICADA AL FINAL DE LA HOJA</b></center>
<br />
<table class="table table-striped table-advance table-hover" style="width: 100%">
<tr>
<th align="center" class="Titulos">CORRECCIONES</th>
</tr>
</table>
<asp:GridView ID="GVAnomalias" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Ventas con los filtros especificados" ToolTip="Pre Nómina" Width="1300px" CssClass="table table-striped table-advance table-hover" Style="margin-top: -10px; text-align: center;" GridLines="None">
<Columns>
<asp:TemplateField>
<HeaderTemplate>NOMBRE</HeaderTemplate>
<ItemTemplate>
<asp:Literal ID="LtlNombre" runat="server"></asp:Literal>
</ItemTemplate>
<ItemStyle Width="200px" />
<HeaderStyle Width="200px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
DESCRIPCIÓN COMPLETA DE LA CORRECCIÓN<br />
(HRS EXTRA, FALTAS, ASISTENCIAS, ETC)
</HeaderTemplate>
<ItemTemplate>
&nbsp;
</ItemTemplate>
<ItemStyle Width="200px" />
<HeaderStyle Width="200px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>DESCRIPCIÓN COMPLETA DE LA CAUSA</HeaderTemplate>
<ItemTemplate>
&nbsp;
</ItemTemplate>
<ItemStyle Width="200px" />
<HeaderStyle Width="200px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>FIRMA DEL SUPERVISOR INVOLUCRADO</HeaderTemplate>
<ItemTemplate>
&nbsp;
</ItemTemplate>
<ItemStyle Width="120px" />
<HeaderStyle Width="120px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>FIRMA DEL OPERADOR</HeaderTemplate>
<ItemTemplate>
&nbsp;
</ItemTemplate>
<ItemStyle Width="120px" />
<HeaderStyle Width="120px" />
</asp:TemplateField>
</Columns>
<RowStyle CssClass="Texto" />
<HeaderStyle CssClass="Titulos" />
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
</table>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
</asp:Content>