413 lines
30 KiB
Plaintext
413 lines
30 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepChecadorPreAsistencia.aspx.vb" Inherits="RH_RepChecadorPreAsistencia" %>
|
||
|
||
<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="E" runat="Server">
|
||
<asp:UpdatePanel ID="UpTituloPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
||
<ContentTemplate>
|
||
Reporte Asistencias Checador
|
||
<asp:Label ID="lblTituloPagina" style="font-size:14px;font-weight:bold" runat="server"></asp:Label>
|
||
</ContentTemplate>
|
||
|
||
</asp:UpdatePanel>
|
||
</asp:Content>
|
||
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
||
</asp:Content>
|
||
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
||
<asp:UpdatePanel runat="server" ID="UpAgregar" UpdateMode="Conditional" >
|
||
<ContentTemplate>
|
||
<li>
|
||
<asp:LinkButton runat="server" ID="BtnAgregar" Visible="false" data-toggle="tooltip" data-placement="left" title="Procesar" Text="<i class='fa fa-plus'></i> Procesar"></asp:LinkButton>
|
||
</li>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</asp:Content>
|
||
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
||
</asp:Content>
|
||
<asp:Content ID="Content7" 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 text-size-12">
|
||
<li>Tipo Periodo:
|
||
<asp:DropDownList ID="DdlTipoPeriodo" AutoPostBack="true" runat="server" CssClass="form-control input-sm select2me" Style="width: 120px !important;" ValidationGroup="GrpGuardar" DataTextField="TipoPeriodo" DataValueField="CveTipoPeriodo">
|
||
</asp:DropDownList>
|
||
</li>
|
||
<li><asp:label ID="LblPeriodo" runat="server" Visible="true" >Periodo:</asp:label>
|
||
<asp:DropDownList ID="DdlRango" Visible="true" AutoPostBack="true" runat="server" CssClass="form-control input-sm select2me" Style="width: 275px !important;" DataTextField="NominaEstatus" DataValueField="CvePeriodo" ValidationGroup="GrpGuardar">
|
||
</asp:DropDownList>
|
||
</li>
|
||
<%--<li>Fecha Inicio:
|
||
<div class="input-group input-sm date date-picker " data-date-format="dd/mm/yyyy" style="display: inline-block;">
|
||
<asp:TextBox ID="TxtInicio" runat="server" CssClass="form-control input-sm" CausesValidation="true" MaxLength="10" Width="82px "></asp:TextBox>
|
||
<span class="input-group-btn ">
|
||
<asp:LinkButton ID="ImgFechaInicio" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
||
</span>
|
||
</div>
|
||
<ajax:MaskedEditExtender ID="MEEFecha" runat="server" TargetControlID="TxtInicio" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
||
<ajax:CalendarExtender runat="server" ID="CEFecha" TargetControlID="TxtInicio" PopupButtonID="ImgFechaInicio" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
|
||
<asp:RequiredFieldValidator ID="RFVFecha" runat="server" ControlToValidate="TxtInicio" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha inicio''</b> es necesario, por favor ingréselo." ValidationGroup="GrpEmitirImprimir"></asp:RequiredFieldValidator>
|
||
<asp:CompareValidator ID="CVFecha" runat="server" ControlToValidate="TxtInicio" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="GrpEmitirImprimir"></asp:CompareValidator>
|
||
<ajax:ValidatorCalloutExtender ID="VCOFecha1" runat="server" HighlightCssClass="vco" TargetControlID="RFVFecha" Width="350px"></ajax:ValidatorCalloutExtender>
|
||
<ajax:ValidatorCalloutExtender ID="VCOFecha2" runat="server" HighlightCssClass="vco" TargetControlID="CVFecha" Width="350px"></ajax:ValidatorCalloutExtender>
|
||
</li>
|
||
<li>Fecha Fin:
|
||
<div class="input-group input-sm date date-picker " data-date-format="dd/mm/yyyy" style="display: inline-block;">
|
||
<asp:TextBox ID="TxtFechaFin" runat="server" CssClass="form-control input-sm" CausesValidation="true" MaxLength="10" Width="82px "></asp:TextBox>
|
||
<span class="input-group-btn ">
|
||
<asp:LinkButton ID="ImgFechaFin" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
||
</span>
|
||
</div>
|
||
<ajax:MaskedEditExtender ID="MEETxtFechaFin" runat="server" TargetControlID="TxtFechaFin" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
||
<ajax:CalendarExtender runat="server" ID="CETxtFechaFin" TargetControlID="TxtFechaFin" PopupButtonID="ImgFechaFin" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
|
||
|
||
<asp:RequiredFieldValidator ID="RfvTxtFechaFin" runat="server" ControlToValidate="TxtFechaFin" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Fin''</b> es necesario, por favor ingréselo." ValidationGroup="GrpEmitirImprimir"></asp:RequiredFieldValidator>
|
||
<asp:CompareValidator ID="CvTxtFechaFin" runat="server" ControlToValidate="TxtFechaFin" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="GrpEmitirImprimir"></asp:CompareValidator>
|
||
|
||
<ajax:ValidatorCalloutExtender ID="RfvcTxtFechaFin" runat="server" HighlightCssClass="vco" TargetControlID="RfvTxtFechaFin" Width="350px"></ajax:ValidatorCalloutExtender>
|
||
<ajax:ValidatorCalloutExtender ID="CvcTxtFechaFin" runat="server" HighlightCssClass="vco" TargetControlID="CvTxtFechaFin" Width="350px"></ajax:ValidatorCalloutExtender>
|
||
</li>--%>
|
||
<li>SubProyecto:
|
||
<asp:DropDownList ID="DdlSubProyecto" runat="server" CssClass="form-control input-sm select2me" Style="width: 135px; !important;" DataTextField="SubProyecto" DataValueField="CveSubproyecto">
|
||
</asp:DropDownList>
|
||
</li>
|
||
<li>Turno:
|
||
<asp:DropDownList ID="DdlTurno" runat="server" Class="form-control input-sm select2me" DataTextField="Turno" DataValueField="CveTurno" Width="100">
|
||
</asp:DropDownList>
|
||
</li>
|
||
<li>Checador
|
||
<asp:RadioButton ID="RdbChecador" runat="server" Checked="true" GroupName="Checador" TextAlign="Right" />
|
||
</li>
|
||
<li>Lista Asistencia
|
||
<asp:RadioButton ID="RdbAsistencia" runat="server" GroupName="Checador" TextAlign="Right" />
|
||
</li>
|
||
</ul>
|
||
|
||
</div>
|
||
<div class="tools">
|
||
<asp:Button ID="BtnConsultar" runat="server" Text="Consultar" Enabled="false" class="btn btn-primary" OnClick="BtnConsultar_Click" />
|
||
</div>
|
||
|
||
</div>
|
||
<div class="portlet-body" style="display: none;">
|
||
</div>
|
||
</div>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
|
||
<asp:UpdatePanel ID="UpDatos" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<asp:GridView ID="GVRegDatos" runat="server" AutoGenerateColumns="false" EmptyDataText="No se encontraron registros"
|
||
CssClass="ADSCROLLER2 table table-striped table-advance table-hover Widthall" data-rows="1" data-cols="3" data-heightmenos="100" data-heightfijo="600" Style="text-align: center;" GridLines="None">
|
||
<Columns>
|
||
<asp:TemplateField HeaderText="Codigo" ItemStyle-HorizontalAlign="Left" >
|
||
<ItemTemplate>
|
||
<asp:Label ID="LtlNumero" runat="server" CssClass="truncate" Width="50" Text='<%# Eval("Codigo") %>'> </asp:Label>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Personal" ItemStyle-HorizontalAlign="Left">
|
||
<ItemTemplate>
|
||
<asp:Label ID="lblIPersonal" runat="server" CssClass="truncate" Width="250" Text='<%# Eval("NombreCompleto") %>'> </asp:Label>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Faltas" ItemStyle-HorizontalAlign="Right">
|
||
<ItemTemplate>
|
||
<asp:Label ID="lblFaltas" runat="server" CssClass="truncate" Width="50"> </asp:Label>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha1" ItemStyle-HorizontalAlign="Center">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha1" runat="server" Width="50" Text='<%# Eval("Fecha1") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha2" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha2" runat="server" Width="50" Text='<%# Eval("Fecha2") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha3" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha3" runat="server" Width="50" Text='<%# Eval("Fecha3") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha4" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha4" runat="server" Width="50" Text='<%# Eval("Fecha4") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha5" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha5" runat="server" Width="50" Text='<%# Eval("Fecha5") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha6" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha6" runat="server" Width="50" Text='<%# Eval("Fecha6") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha7" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha7" runat="server" Width="50" Text='<%# Eval("Fecha7") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha8" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha8" runat="server" Width="50" Text='<%# Eval("Fecha8") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha9" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha9" runat="server" Width="50" Text='<%# Eval("Fecha9") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha10" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha10" runat="server" Width="50" Text='<%# Eval("Fecha10") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha11" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha11" runat="server" Width="50" Text='<%# Eval("Fecha11") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha12" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha12" runat="server" Width="50" Text='<%# Eval("Fecha12") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha13" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha13" runat="server" Width="50" Text='<%# Eval("Fecha13") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha14" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha14" runat="server" Width="50" Text='<%# Eval("Fecha14") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha15" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha15" runat="server" Width="50" Text='<%# Eval("Fecha15") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha16" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha16" runat="server" Width="50" Text='<%# Eval("Fecha16") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha17" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha17" runat="server" Width="50" Text='<%# Eval("Fecha17") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha18" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha18" runat="server" Width="50" Text='<%# Eval("Fecha18") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha19" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha19" runat="server" Width="50" Text='<%# Eval("Fecha19") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha20" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha20" runat="server" Width="50" Text='<%# Eval("Fecha20") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha21" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha21" runat="server" Width="50" Text='<%# Eval("Fecha21") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha22" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha22" runat="server" Width="50" Text='<%# Eval("Fecha22") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha23" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha23" runat="server" Width="50" Text='<%# Eval("Fecha23") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha24" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha24" runat="server" Width="50" Text='<%# Eval("Fecha24") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha25" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha25" runat="server" Width="50" Text='<%# Eval("Fecha25") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha26" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha26" runat="server" Width="50" Text='<%# Eval("Fecha26") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha27" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha27" runat="server" Width="50" Text='<%# Eval("Fecha27") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha28" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha28" runat="server" Width="50" Text='<%# Eval("Fecha28") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha29" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha29" runat="server" Width="50" Text='<%# Eval("Fecha29") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha30" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha30" runat="server" Width="50" Text='<%# Eval("Fecha30") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Fecha31" ItemStyle-HorizontalAlign="Center" Visible="false">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="LnkFecha31" runat="server" Width="50" Text='<%# Eval("Fecha31") %>'></asp:LinkButton>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
</Columns>
|
||
</asp:GridView>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
|
||
<div id="divDetallesDia" class="modal ADS fade" role="dialog">
|
||
<div id="Div1" runat="server" class="modal-dialog" style="width: 300px;">
|
||
|
||
<asp:UpdatePanel runat="server" class="modal-content" ID="UpDetallesDia" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<div class="modal-header ">
|
||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||
<h4 class="modal-title">
|
||
<asp:Literal ID="LtlAsistenciaHorariosModal" runat="server">Detalles</asp:Literal></h4>
|
||
</div>
|
||
<div class="modal-body">
|
||
|
||
<table style="width: 100%">
|
||
<tr>
|
||
<td style="width: 50%; vertical-align: top!important">
|
||
|
||
<table style="width: 100%">
|
||
<tr>
|
||
<td style="width: 20%; text-align: right!important; vertical-align: top!important">
|
||
<asp:LinkButton ID="lnkModalImg" runat="server" Text="" OnClientClick="return false;"></asp:LinkButton></td>
|
||
<td style="font-weight: bold; font-size: 13px!important">
|
||
<asp:Label ID="lblModalFecha" runat="server"></asp:Label>
|
||
<br />
|
||
<asp:Label ID="lblModalMensaje" runat="server"></asp:Label>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td></td>
|
||
<td>
|
||
<asp:DropDownList ID="DdlAsistenciaInacistencia" Width="150" runat="server" CssClass="select2me" DataTextField="Tipo" DataValueField="CveAsistenciasInasistencias"></asp:DropDownList></td>
|
||
</tr>
|
||
</table>
|
||
|
||
<div class="col-md-10">
|
||
</div>
|
||
<div class="col-md-10">
|
||
</div>
|
||
</td>
|
||
<td style="width: 50%">
|
||
<asp:GridView ID="GvDetalleDias" runat="server" AutoGenerateColumns="false" EmptyDataText="No se encontraron registros" with="150"
|
||
CssClass=" table table-striped table-advance table-hover Widthall" Style="text-align: center;" GridLines="None">
|
||
<Columns>
|
||
<asp:TemplateField HeaderText="Registros Checador" ItemStyle-HorizontalAlign="Left" Visible="true">
|
||
<ItemTemplate>
|
||
<asp:Label ID="lblFechaHora" runat="server" Width="150" Text='<%# Eval("FechaRegistro") %>'></asp:Label>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
</Columns>
|
||
</asp:GridView>
|
||
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
</div>
|
||
<div class="modal-footer">
|
||
<div class="row">
|
||
|
||
<asp:Button ID="BtnEstusAsistenciaModal" runat="server" class="btn btn-success" Text="Aceptar" ValidationGroup="GrpAsistencia" />
|
||
<button id="Button4" runat="server" type="button" class="btn default" data-dismiss="modal">Cerrar</button>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
|
||
<div id="ModalModalFecha" class="modal ADS fade" role="dialog">
|
||
<div class="modal-dialog">
|
||
<div class="modal-content">
|
||
<div class="modal-header ">
|
||
<%--<button type="button" class="close" data-dismiss="modal">×</button>--%>
|
||
<h4 class="modal-title">
|
||
<asp:UpdatePanel ID="UpModalFechaTitulo" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<asp:Literal ID="LtlModalFechaTitulo" runat="server">Seleccionar Fecha </asp:Literal>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</h4>
|
||
</div>
|
||
|
||
<div class="modal-body">
|
||
<asp:UpdatePanel runat="server" ID="UpModalFechaBody" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
|
||
<table><tr><td> No se han encontrado datos recientes de periodos anteriores, por favor especifique la fecha de inicio.</td></tr>
|
||
<tr><td style="text-align:center !important">
|
||
<div class="input-group input-sm date date-picker " data-date-format="dd/mm/yyyy" style="display: inline-block;">
|
||
<asp:TextBox ID="TxtFechaModal" runat="server" CssClass="form-control input-sm" CausesValidation="true" MaxLength="10" Width="100px "></asp:TextBox>
|
||
<span class="input-group-btn ">
|
||
<asp:LinkButton ID="LnkTxtFechaModal" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
||
</span>
|
||
</div>
|
||
<ajax:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="TxtFechaModal" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
||
<ajax:CalendarExtender runat="server" ID="CETxtFechaModal" TargetControlID="TxtFechaModal" PopupButtonID="LnkTxtFechaModal" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
|
||
<asp:RequiredFieldValidator ID="RfvTxtFechaModal" runat="server" ControlToValidate="TxtFechaModal" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha inicio''</b> es necesario, por favor ingréselo." ValidationGroup="GrpModalFecha"></asp:RequiredFieldValidator>
|
||
<asp:CompareValidator ID="CVTxtFechaModal" runat="server" ControlToValidate="TxtFechaModal" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="GrpModalFecha"></asp:CompareValidator>
|
||
|
||
<ajax:ValidatorCalloutExtender ID="RfvcRfvTxtFechaModal" runat="server" HighlightCssClass="vco" TargetControlID="RfvTxtFechaModal" Width="350px"></ajax:ValidatorCalloutExtender>
|
||
<ajax:ValidatorCalloutExtender ID="CVCCVTxtFechaModal" runat="server" HighlightCssClass="vco" TargetControlID="CVTxtFechaModal" Width="350px"></ajax:ValidatorCalloutExtender>
|
||
|
||
|
||
</td></tr>
|
||
|
||
</table>
|
||
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<asp:UpdatePanel runat="server">
|
||
<ContentTemplate>
|
||
|
||
<br />
|
||
<asp:Button ID="BtnModalFecha" runat="server" ClientIDMode="Static" Text="Procesar" CssClass="btn btn-primary" ValidationGroup="GrpModalFecha" />
|
||
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</asp:Content>
|
||
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
||
</asp:Content>
|
||
|