197 lines
11 KiB
Plaintext
197 lines
11 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false"
|
|
CodeFile="RepLicencias.aspx.vb" Inherits="SCT_RepLicencias" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="H" runat="Server">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<img src="/Imagenes/separador02.gif" alt="" />
|
|
</td>
|
|
<td align="center" style="width: 55px">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="E" runat="Server">
|
|
Reporte de Licencias y Permisos
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="C" runat="Server">
|
|
<asp:UpdatePanel ID="UpTitulos" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr align="left" class="SubTotales">
|
|
<td>
|
|
Tipo Licencia:
|
|
</td>
|
|
<td>
|
|
<asp:DropDownList ID="DdlTipoLicencia" runat="server" >
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
<asp:ListItem Text="Pasaje y exclusivo de turismo" Value="Pasaje y exclusivo de turismo"></asp:ListItem>
|
|
<asp:ListItem Text="Carga Trailer" Value="Carga Trailer"></asp:ListItem>
|
|
<asp:ListItem Text="Carga de 2 o 3 ejes" Value="Carga de 2 o 3 ejes"></asp:ListItem>
|
|
<asp:ListItem Text="Chofer Guia Turistas" Value="Chofer Guia Turistas"></asp:ListItem>
|
|
<asp:ListItem Text="Carga de Materiales y residuos peligrosos" Value="Carga de Materiales y residuos peligrosos"></asp:ListItem>
|
|
<asp:ListItem Text="Puertos y aeropuertos" Value="Puertos y aeropuertos"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</td>
|
|
<td>
|
|
# Licencia:
|
|
</td>
|
|
<td>
|
|
<asp:TextBox ID="TxtNumLicencia" runat="server" Width="65px"></asp:TextBox>
|
|
</td>
|
|
<td>
|
|
Estatus:
|
|
</td>
|
|
<td>
|
|
<asp:DropDownList ID="DdlEstatus" runat="server" Width="100px">
|
|
<Items>
|
|
<asp:ListItem Value="-1" Selected="True">Todas</asp:ListItem>
|
|
<asp:ListItem Value="Vencida">Vencida</asp:ListItem>
|
|
<asp:ListItem Value="Activa">Activa</asp:ListItem>
|
|
</Items>
|
|
</asp:DropDownList>
|
|
</td>
|
|
<td>
|
|
Agrupador:
|
|
</td>
|
|
<td>
|
|
<asp:DropDownList ID="DdlAgrupador" runat="server" Width="120px">
|
|
<Items>
|
|
<asp:ListItem Value="TipoLicencia" Selected="True">Tipo Licencia</asp:ListItem>
|
|
<asp:ListItem Value="Estatus">Estatus</asp:ListItem>
|
|
</Items>
|
|
</asp:DropDownList>
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
<tr align="left" class="SubTotales">
|
|
<td>
|
|
F.Exp.Inicio:
|
|
</td>
|
|
<td>
|
|
<asp:TextBox ID="txtFechaI" runat="server" Width="65px"></asp:TextBox>
|
|
<asp:ImageButton runat="server" ID="imgCalendario" ImageUrl="/Imagenes/calendar.png"
|
|
ImageAlign="AbsMiddle" Width="16px" Height="16px" AlternateText="Click para ver el Calendario" />
|
|
<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI"
|
|
Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left">
|
|
</ajax:MaskedEditExtender>
|
|
<ajax:CalendarExtender runat="server" ID="Calendario" TargetControlID="txtFechaI"
|
|
PopupButtonID="ImgCalendario" PopupPosition="BottomRight" Enabled="True">
|
|
</ajax:CalendarExtender>
|
|
<asp:RequiredFieldValidator ID="rfvFechaI" runat="server" ControlToValidate="txtFechaI"
|
|
Display="None" ErrorMessage="El campo <b>''Fecha Inicial''</b> es requerido por la aplicación, por favor ingrese una fecha."
|
|
ValidationGroup="Valida"></asp:RequiredFieldValidator>
|
|
<asp:CompareValidator ID="cvFechaI" runat="server" ControlToValidate="txtFechaI"
|
|
Display="None" ErrorMessage="El campo <b>''Fecha Inicial''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)."
|
|
Operator="DataTypeCheck" Type="Date" ValidationGroup="Valida"></asp:CompareValidator>
|
|
<ajax:ValidatorCalloutExtender ID="vcoFfvFI" runat="server" HighlightCssClass="vco"
|
|
TargetControlID="rfvFechaI" Width="350px">
|
|
</ajax:ValidatorCalloutExtender>
|
|
<ajax:ValidatorCalloutExtender ID="vcoCvFI" runat="server" HighlightCssClass="vco"
|
|
TargetControlID="cvFechaI" Width="350px">
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
|
F.Exp.Fin:
|
|
|
|
<asp:TextBox ID="txtFechaF" runat="server" Width="65px"></asp:TextBox>
|
|
<asp:ImageButton runat="server" ID="imgCalendarioF" ImageUrl="/Imagenes/calendar.png"
|
|
ImageAlign="AbsMiddle" Width="16px" Height="16px" AlternateText="Click para ver el Calendario" />
|
|
<ajax:MaskedEditExtender ID="MEEFechaF" runat="server" TargetControlID="txtFechaF"
|
|
Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left">
|
|
</ajax:MaskedEditExtender>
|
|
<ajax:CalendarExtender runat="server" ID="Calendario2" TargetControlID="txtFechaF"
|
|
PopupButtonID="imgCalendarioF" PopupPosition="BottomRight" Enabled="True">
|
|
</ajax:CalendarExtender>
|
|
<asp:RequiredFieldValidator ID="rfvFechaF" runat="server" ControlToValidate="txtFechaF"
|
|
Display="None" ErrorMessage="El campo <b>''Fecha Final''</b> es requerido por la aplicación, por favor ingrese una fecha."
|
|
ValidationGroup="Valida"></asp:RequiredFieldValidator>
|
|
<asp:CompareValidator ID="cvFechaF" runat="server" ControlToValidate="txtFechaF"
|
|
Display="None" ErrorMessage="El campo <b>''Fecha Final''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)."
|
|
Operator="DataTypeCheck" Type="Date" ValidationGroup="Valida"></asp:CompareValidator>
|
|
<ajax:ValidatorCalloutExtender ID="vcoRfvFF" runat="server" HighlightCssClass="vco"
|
|
TargetControlID="rfvFechaF" Width="350px">
|
|
</ajax:ValidatorCalloutExtender>
|
|
<ajax:ValidatorCalloutExtender ID="vcoCvFF" runat="server" HighlightCssClass="vco"
|
|
TargetControlID="cvFechaF" Width="350px">
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
</td>
|
|
<td>
|
|
</td>
|
|
<td>
|
|
</td>
|
|
<td>
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
</td>
|
|
<td>
|
|
<asp:Button ID="cmdConsultar" runat="server" Text="Consultar" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<asp:UpdatePanel runat="server" ID="UPPDatos" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<asp:GridView ID="GvDatos" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros con el filtro actual"
|
|
Width="100%">
|
|
<Columns>
|
|
<asp:TemplateField>
|
|
<HeaderTemplate>
|
|
<asp:Literal ID="LblTitulo" runat="server"></asp:Literal>
|
|
</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlAgrupador" runat="server"></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField>
|
|
<HeaderTemplate>
|
|
Total
|
|
</HeaderTemplate>
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlTotal" runat="server" Text='<%# Eval("Cantidad", "{0:N2}") %>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:ButtonField />
|
|
</Columns>
|
|
<RowStyle CssClass="Texto" />
|
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
<HeaderStyle CssClass="Titulos" />
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
<asp:UpdateProgress ID="upProgress" runat="server" DisplayAfter="0">
|
|
<ProgressTemplate>
|
|
<div id="overlay">
|
|
<div id="modalprogress">
|
|
<div id="theprogress">
|
|
<center>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
La información se está procesando...
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<img src="/Imagenes/Cargando.gif" style="border-width: 0px;" alt="" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ProgressTemplate>
|
|
</asp:UpdateProgress>
|
|
</asp:Content>
|