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

230 lines
16 KiB
Plaintext

<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="ComparativoNomina.aspx.vb" Inherits="RH_ComparativoNomina" %>
<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">
Comparativo Nómina
</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>Ejercicio:
<asp:DropDownList ID="DdlEjercicio" AutoPostBack="true" runat="server" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 100px !important;" OnSelectedIndexChanged="DdlEjercicio_SelectedIndexChanged"></asp:DropDownList>
<%--<asp:RangeValidator ID="RVEjercicio" runat="server" ControlToValidate="DdlEjercicio" Display="None" Type="Integer" MinimumValue="1" MaximumValue="2147483647" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Ejercicio''</b> es necesario, por favor seleccione uno." ValidationGroup="Validar" ></asp:RangeValidator>
<ajax:ValidatorCalloutExtender ID="VCOEjercicio" runat="server" HighlightCssClass="vco" TargetControlID="RVEjercicio" Width="300px"></ajax:ValidatorCalloutExtender>--%>
</li>
<li>Tipo de Periodo:
<asp:DropDownList ID="DdlTipoPeriodo" AutoPostBack="true" runat="server" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 120px !important;" DataTextField="TipoPeriodo" DataValueField="CveTipoPeriodo" OnSelectedIndexChanged="DdlTipoPeriodo_SelectedIndexChanged"></asp:DropDownList>
<asp:RangeValidator ID="RVTipoPeriodo" runat="server" ControlToValidate="DdlTipoPeriodo" Display="None" Type="Integer" MinimumValue="1" MaximumValue="2147483647" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Tipo de Periodo''</b> es necesario, por favor seleccione uno." ValidationGroup="Validar"></asp:RangeValidator>
<ajax:ValidatorCalloutExtender ID="VCOTipoPeriodo" runat="server" HighlightCssClass="vco" TargetControlID="RVTipoPeriodo" Width="300px"></ajax:ValidatorCalloutExtender>
</li>
<li>Periodo:
<asp:DropDownList ID="DdlPeriodo" runat="server" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 200px !important;" DataTextField="NominaEstatus" DataValueField="CvePeriodo"></asp:DropDownList>
<asp:RangeValidator ID="RVPeriodo" runat="server" ControlToValidate="DdlPeriodo" Display="None" Type="Integer" MinimumValue="1" MaximumValue="2147483647" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Periodo''</b> es necesario, por favor seleccione uno." ValidationGroup="Validar"></asp:RangeValidator>
<ajax:ValidatorCalloutExtender ID="VCOPeriodo" runat="server" HighlightCssClass="vco" TargetControlID="RVPeriodo" Width="300px"></ajax:ValidatorCalloutExtender>
</li>
</ul>
</div>
<div class="tools">
<asp:Button ID="BtnConsultar" runat="server" Text="Consultar" OnClick="CargarComparativoNomina" ValidationGroup="Validar" class="btn btn-primary" />
</div>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
<br />
<asp:UpdatePanel ID="UPDatos" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="Gv" runat="server" ShowHeader="True" AutoGenerateColumns="False" EmptyDataText="Seleccione un Tipo de Periodo y un Periodo en particular." CellPadding="1" CellSpacing="1" RowStyle-VerticalAlign="Middle" RowStyle-HorizontalAlign="Center" CssClass="table table-striped table-advance table-hover" Style="margin-top: -10px; text-align: center;" GridLines="None">
<Columns>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbNombre" runat="server" CausesValidation="False" Text="" CommandArgument="Nombre" OnClick="LbOrden_Click">
Nombre
<asp:Literal ID="ImgNombre" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("Nombre")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="300px" HorizontalAlign="Left" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbSalarioDiario" runat="server" CausesValidation="False" Text="" CommandArgument="SalarioDiario" OnClick="LbOrden_Click">
Salario Diario
<asp:Literal ID="ImgSalarioDiario" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("SalarioDiario", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbSalarioDiarioSS" runat="server" CausesValidation="False" Text="" CommandArgument="SalarioDiarioSS" OnClick="LbOrden_Click">
Salario Diario SS
<asp:Literal ID="ImgSalarioDiarioSS" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("SalarioDiarioSS", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField Visible="False">
<HeaderTemplate>
<asp:LinkButton ID="LbCveEstatusPersonal" runat="server" CausesValidation="False" Text="Estatus" CommandArgument="CveEstatusPersonal" OnClick="LbOrden_Click">
<asp:Literal ID="Img" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# Bind("EstatusPersonal")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbPrestacionesEspecie" runat="server" CausesValidation="False" Text="" CommandArgument="PrestacionesEspecie" OnClick="LbOrden_Click">
Prestaciones Especie
<asp:Literal ID="ImgPrestacionesEspecie" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label5" runat="server" Text='<%# Bind("PrestacionesEspecie", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="100px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbPrestacionesDinero" runat="server" CausesValidation="False" Text="" CommandArgument="PrestacionesDinero" OnClick="LbOrden_Click">
Prestaciones Dinero
<asp:Literal ID="ImgPrestacionesDinero" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label6" runat="server" Text='<%# Bind("PrestacionesDinero", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="100px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbInvalidezyVida" runat="server" CausesValidation="False" Text="" CommandArgument="InvalidezyVida" OnClick="LbOrden_Click">
Invalidez y Vida
<asp:Literal ID="ImgInvalidezyVida" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label7" runat="server" Text='<%# Bind("InvalidezyVida", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbSeguroRetiro" runat="server" CausesValidation="False" Text="" CommandArgument="SeguroRetiro" OnClick="LbOrden_Click">
Seguro Retiro
<asp:Literal ID="ImgSeguroRetiro" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label8" runat="server" Text='<%# Bind("SeguroRetiro", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbCesantiayVejez" runat="server" CausesValidation="False" Text="" CommandArgument="CesantiayVejez" OnClick="LbOrden_Click">
Cesantía y Vejez
<asp:Literal ID="ImgCesantiayVejez" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label9" runat="server" Text='<%# Bind("CesantiayVejez", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbGuarderias" runat="server" CausesValidation="false" Text="" CommandArgument="Guarderias" OnClick="LbOrden_Click">
Guarderias
<asp:Literal ID="ImgGuarderias" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label10" runat="server" Text='<%# Bind("Guarderias", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbInfonavit" runat="server" CausesValidation="False" Text="" CommandArgument="Infonavit" OnClick="LbOrden_Click">
Infonavit
<asp:Literal ID="ImgInfonavit" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label11" runat="server" Text='<%# Bind("Infonavit", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="70px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbTotalActual" runat="server" CausesValidation="False" Text="" CommandArgument="TotalActual" OnClick="LbOrden_Click">
Total Actual
<asp:Literal ID="ImgTotalActual" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label12" runat="server" Text='<%# Bind("TotalActual", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="80px" />
</asp:TemplateField>
<asp:TemplateField>
<HeaderTemplate>
<asp:LinkButton ID="LbTotalProyectado" runat="server" CausesValidation="False" Text="" CommandArgument="TotalProyectado" OnClick="LbOrden_Click">
Total Proyectado
<asp:Literal ID="ImgTotalProyectado" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="Label13" runat="server" Text='<%# Bind("TotalProyectado", "{0:C}")%>'></asp:Label>
</ItemTemplate>
<ControlStyle CssClass="Texto" />
<ItemStyle Width="80px" />
</asp:TemplateField>
</Columns>
<HeaderStyle CssClass="Titulos"></HeaderStyle>
<AlternatingRowStyle CssClass="TextoAlterno"></AlternatingRowStyle>
<RowStyle CssClass="Texto"></RowStyle>
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
</asp:Content>