|
|
|
|
@@ -10,9 +10,7 @@
|
|
|
|
|
margin-block: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-1 {
|
|
|
|
|
margin-block: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
@@ -48,20 +46,12 @@
|
|
|
|
|
<ajax:TabContainer ID="Tab" runat="server" Width="100%" ActiveTabIndex="0">
|
|
|
|
|
<%--Destinos Tab--%>
|
|
|
|
|
<ajax:TabPanel ID="TabDestinos" runat="server" HeaderText="Destinos">
|
|
|
|
|
<ContentTemplate>
|
|
|
|
|
<div class="spaced">
|
|
|
|
|
<div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<ContentTemplate>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="row my-1" style="margin-right: 10px; margin-top: 10px;" align="right">
|
|
|
|
|
|
|
|
|
|
<div class="row" style="margin-right: 10px; margin-top: 10px;" align="right">
|
|
|
|
|
<input type="text" id="TxtBusqueda1" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda1','{0}')", GvDestinos.ClientID) %>"
|
|
|
|
|
style="display: inline-block; margin-right: -10px; width: 150px;" />
|
|
|
|
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda1','{0}')", GvDestinos.ClientID) %>"
|
|
|
|
|
@@ -90,7 +80,7 @@
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</asp:TemplateField>
|
|
|
|
|
|
|
|
|
|
<asp:TemplateField HeaderText="Direccion" >
|
|
|
|
|
<asp:TemplateField HeaderText="Dirección" >
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:Literal ID="LtlEstado" runat="server" Text='<%# Eval("Direccion") %>'></asp:Literal>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
@@ -117,12 +107,10 @@
|
|
|
|
|
<%--Importes Tab--%>
|
|
|
|
|
<ajax:TabPanel ID="TabImportes" runat="server" HeaderText="Tarifas">
|
|
|
|
|
<ContentTemplate>
|
|
|
|
|
<div class="spaced">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="row my-1" style="margin-right: 10px; margin-top: 10px;" align="right">
|
|
|
|
|
<div class="row" style="margin-right: 10px; margin-top: 10px;" align="right">
|
|
|
|
|
<input type="text" id="TxtBusqueda2" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvImportes.ClientID) %>"
|
|
|
|
|
style="display: inline-block; margin-right: -10px; width: 150px;" />
|
|
|
|
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvImportes.ClientID) %>"
|
|
|
|
|
@@ -130,7 +118,7 @@
|
|
|
|
|
</i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<asp:GridView ID="GvImportes" runat="server" AutoGenerateColumns="false" EmptyDataText="No se Encontró Contrato Registrado"
|
|
|
|
|
CssClass="table table-striped table-hover Widthall ScrollAD mysmallbtn" GridLines="None"
|
|
|
|
|
@@ -196,220 +184,187 @@
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
<asp:Label runat="server" ID="ModalLabel"></asp:Label>
|
|
|
|
|
<h4 class="modal-title" id="myModalLabel" runat="server"><asp:Label runat="server" ID="ModalLabel"></asp:Label></h4>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<%-- Ruta --%>
|
|
|
|
|
<asp:Panel runat="server" ID="PnRuta" Visible="False">
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Nombre de la ruta</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:TextBox ID="TxtRuta" runat="server" MaxLength="70" Width="100%"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVRuta" runat="server" ControlToValidate="TxtRuta"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Ruta''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCERuta" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVRuta" Width="100%">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:TextBox ID="TxtRuta" runat="server" MaxLength="70" Width="100%"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVRuta" runat="server" ControlToValidate="TxtRuta"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Ruta''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCERuta" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVRuta" Width="100%">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
<label for="<%= TxtRuta.ClientID.ToString()%>">Nombre de la ruta:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Estatus:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:DropDownList ID="DdlRutaEstatus" runat="server" Class="table-group-action-input form-control input-inline select2me"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%">
|
|
|
|
|
<asp:ListItem Text="Seleccione" Value="" Selected="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Activo" Value="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Inactivo" Value="False"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVRutaEstatus" runat="server" ControlToValidate="DdlRutaEstatus"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Estatus''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCERutaEstatus" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVRutaEstatus" Width="400px" BehaviorID="_content_VCERutaEstatus">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:DropDownList ID="DdlRutaEstatus" runat="server" Class="form-control input-inline select2me"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%">
|
|
|
|
|
<asp:ListItem Text="Seleccione" Value="" Selected="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Activo" Value="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Inactivo" Value="False"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVRutaEstatus" runat="server" ControlToValidate="DdlRutaEstatus"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Estatus''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCERutaEstatus" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVRutaEstatus" Width="400px" BehaviorID="_content_VCERutaEstatus">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
|
|
|
|
|
<label for="<%= DdlRutaEstatus.ClientID.ToString()%>">Estatus:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</asp:Panel>
|
|
|
|
|
<%-- Destino --%>
|
|
|
|
|
<asp:Panel ID="PnDestino" runat="server" Visible="false">
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Nombre del Destino</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:TextBox ID="TxtDestino" runat="server" MaxLength="70" Width="100%" CssClass="form-control"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVDestino" runat="server" ControlToValidate="TxtDestino"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Destino''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEDestino" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVDestino" Width="100%">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Nacional:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:DropDownList ID="DdlEsNacional" runat="server" Class="table-group-action-input form-control input-inline select2me"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%" OnSelectedIndexChanged="OnChangeNacional" AutoPostBack="true">
|
|
|
|
|
<asp:ListItem Text="Seleccione" Value="" Selected="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Sí" Value="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="No" Value="False"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVEsNacional" runat="server" ControlToValidate="DdlEsNacional"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Nacional''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEEsNacional" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVEsNacional" Width="400px" BehaviorID="_content_VCEEsNacional">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Estatus:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:DropDownList ID="DdlDestinoEstatus" runat="server" Class="table-group-action-input form-control input-inline select2me"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%">
|
|
|
|
|
<asp:ListItem Text="Seleccione" Value="" Selected="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Activo" Value="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Inactivo" Value="False"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVDestinoEstatus" runat="server" ControlToValidate="DdlDestinoEstatus"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Estatus''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEDestinoEstatus" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVDestinoEstatus" Width="400px" BehaviorID="_content_VCEDestinoEstatus">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row my-1" style="display:none">
|
|
|
|
|
<label class="col-md-4">Estado:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:DropDownList ID="DdlEstado" runat="server" Class="table-group-action-input form-control input-inline select2me" Visible="false"
|
|
|
|
|
DataTextField="NombreEstado"
|
|
|
|
|
DataValueField="CveEstado"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%">
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVEstado" runat="server" ControlToValidate="DdlEstado"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Estado''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEEstado" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVEstado" Width="400px" BehaviorID="VCEEstado">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Dirección:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:TextBox ID="TxtDireccion" runat="server" MaxLength="150" Width="100%" CssClass="form-control"></asp:TextBox>
|
|
|
|
|
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtDestino"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Destino''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVDestino" Width="100%">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>--%>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:TextBox ID="TxtDestino" runat="server" MaxLength="70" Width="100%" CssClass="form-control"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVDestino" runat="server" ControlToValidate="TxtDestino"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Destino''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEDestino" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVDestino" Width="100%">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
|
|
|
|
|
<label for="<%= TxtDestino.ClientID.ToString()%>">Nombre del Destino:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:DropDownList ID="DdlEsNacional" runat="server" Class="table-group-action-input form-control input-inline select2me"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%" OnSelectedIndexChanged="OnChangeNacional" AutoPostBack="true">
|
|
|
|
|
<asp:ListItem Text="Seleccione" Value="" Selected="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Sí" Value="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="No" Value="False"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVEsNacional" runat="server" ControlToValidate="DdlEsNacional"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Nacional''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEEsNacional" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVEsNacional" Width="400px" BehaviorID="_content_VCEEsNacional">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
|
|
|
|
|
<label for="<%= DdlEsNacional.ClientID.ToString()%>">Nacional:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:DropDownList ID="DdlDestinoEstatus" runat="server" Class="table-group-action-input form-control input-inline select2me"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%">
|
|
|
|
|
<asp:ListItem Text="Seleccione" Value="" Selected="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Activo" Value="True"></asp:ListItem>
|
|
|
|
|
<asp:ListItem Text="Inactivo" Value="False"></asp:ListItem>
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVDestinoEstatus" runat="server" ControlToValidate="DdlDestinoEstatus"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Estatus''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEDestinoEstatus" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVDestinoEstatus" Width="400px" BehaviorID="_content_VCEDestinoEstatus">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
|
|
|
|
|
<label for="<%= DdlDestinoEstatus.ClientID.ToString()%>">Estatus:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:DropDownList ID="DdlEstado" runat="server" Class="table-group-action-input form-control input-inline select2me" Visible="false"
|
|
|
|
|
DataTextField="NombreEstado"
|
|
|
|
|
DataValueField="CveEstado"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%">
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVEstado" runat="server" ControlToValidate="DdlEstado"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Estado''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEEstado" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVEstado" Width="400px" BehaviorID="VCEEstado">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
<label style="display:none" for="<%= DdlEstado.ClientID.ToString()%>">Estado:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:TextBox ID="TxtDireccion" runat="server" MaxLength="150" Width="100%" CssClass="form-control"></asp:TextBox>
|
|
|
|
|
<label for="<%= TxtDireccion.ClientID.ToString()%>">Dirección:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<%--<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
|
|
|
|
|
<label for="<%= TxtDireccion.ClientID.ToString()%>">Chofer:</label>
|
|
|
|
|
</div>--%>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</asp:Panel>
|
|
|
|
|
<%-- Importes --%>
|
|
|
|
|
<asp:Panel ID="PnImporte" runat="server" Visible="false">
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Ruta:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:DropDownList ID="DdlRutas" AppendDataBoundItems="true" DataTextField="SubProyecto"
|
|
|
|
|
DataValueField="CveSubProyecto" Class="form-control input-sm select2me"
|
|
|
|
|
Width="200px" runat="server">
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVRutas" runat="server" ControlToValidate="DdlRutas"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Ruta''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCERutas" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVRutas" Width="400px" BehaviorID="_content_VCERutas">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:DropDownList ID="DdlRutas" runat="server" CssClass="form-control select2me" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" Width="100%">
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVRutas" runat="server" ControlToValidate="DdlRutas" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Ruta''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCERutas" runat="server" HighlightCssClass="vco" TargetControlID="RFVRutas" Width="400px"></ajax:ValidatorCalloutExtender>
|
|
|
|
|
<label for="<%= DdlRutas.ClientID.ToString() %>">Ruta:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:DropDownList ID="DdlOrigen" runat="server" CssClass="form-control select2me" AppendDataBoundItems="true" DataTextField="Destino" DataValueField="CveDestino" Width="100%">
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVOrigen" runat="server" ControlToValidate="DdlOrigen" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Partida''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEOrigen" runat="server" HighlightCssClass="vco" TargetControlID="RFVOrigen" Width="400px"></ajax:ValidatorCalloutExtender>
|
|
|
|
|
<label for="<%= DdlOrigen.ClientID.ToString() %>">Partida:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
|
|
|
<asp:DropDownList ID="DdlFinal" runat="server" CssClass="form-control select2me" AppendDataBoundItems="true" DataTextField="Destino" DataValueField="CveDestino" Width="100%">
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVFinal" runat="server" ControlToValidate="DdlFinal" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Destino''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEFinal" runat="server" HighlightCssClass="vco" TargetControlID="RFVFinal" Width="400px"></ajax:ValidatorCalloutExtender>
|
|
|
|
|
<label for="<%= DdlFinal.ClientID.ToString() %>">Destino:</label>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-4">
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright" style="width:130px!important">
|
|
|
|
|
<asp:TextBox ID="TxtImporte" runat="server" CssClass="form-control" MaxLength="7" onkeyup="FormatoMoneda(this)" Style="text-align: right" Width="130px"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVImporte" runat="server" ControlToValidate="TxtImporte" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Importe''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" HighlightCssClass="VCOImporte" TargetControlID="RFVImporte" Width="400px"></ajax:ValidatorCalloutExtender>
|
|
|
|
|
<label for="<%= TxtImporte.ClientID.ToString() %>">Importe:</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-lg-4">
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright" style="width:130px!important">
|
|
|
|
|
<asp:TextBox ID="TxtImporteNov" runat="server" CssClass="form-control" MaxLength="7" onkeyup="FormatoMoneda(this)" Style="text-align: right" Width="130px"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtImporteNov" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Importe Noviembre''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" HighlightCssClass="VCOImporte" TargetControlID="RequiredFieldValidator1" Width="400px"></ajax:ValidatorCalloutExtender>
|
|
|
|
|
<label for="<%= TxtImporteNov.ClientID.ToString() %>">Importe Noviembre:</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-lg-4">
|
|
|
|
|
<div class="form-group form-md-line-input input-iconright" style="width:130px!important">
|
|
|
|
|
<asp:TextBox ID="TxtImporteDic" runat="server" CssClass="form-control" MaxLength="7" onkeyup="FormatoMoneda(this)" Style="text-align: right" Width="130px"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtImporteDic" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Importe Diciembre''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" HighlightCssClass="VCOImporte" TargetControlID="RequiredFieldValidator2" Width="400px"></ajax:ValidatorCalloutExtender>
|
|
|
|
|
<label for="<%= TxtImporteDic.ClientID.ToString() %>">Importe Diciembre:</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Partida:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:DropDownList ID="DdlOrigen" runat="server" Class="table-group-action-input form-control input-inline select2me"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%" DataTextField="Destino"
|
|
|
|
|
DataValueField="CveDestino">
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVOrigen" runat="server" ControlToValidate="DdlOrigen"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Partida''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEOrigen" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVOrigen" Width="400px" BehaviorID="_content_VCEOrigen">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Destino:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:DropDownList ID="DdlFinal" runat="server" Class="table-group-action-input form-control input-inline select2me"
|
|
|
|
|
AppendDataBoundItems="true"
|
|
|
|
|
Width="99.9%" DataTextField="Destino"
|
|
|
|
|
DataValueField="CveDestino">
|
|
|
|
|
</asp:DropDownList>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVFinal" runat="server" ControlToValidate="DdlFinal"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Origen''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="VCEFinal" runat="server" HighlightCssClass="vco"
|
|
|
|
|
TargetControlID="RFVFinal" Width="400px" BehaviorID="_content_VCEFinal">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Importe:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:TextBox type="number" ID="TxtImporte" runat="server" MaxLength="7" Width="100%"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RFVImporte" runat="server" ControlToValidate="TxtImporte"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Importe''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" HighlightCssClass="VCOImporte"
|
|
|
|
|
TargetControlID="RFVDestino" Width="100%">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Importe Noviembre:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:TextBox type="number" ID="TxtImporteNov" runat="server" MaxLength="7" Width="100%"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtImporteNov"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Importe Noviembre''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" HighlightCssClass="VCOImporte"
|
|
|
|
|
TargetControlID="RFVDestino" Width="100%">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row my-1">
|
|
|
|
|
<label class="col-md-4">Importe Diciembre:</label>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<asp:TextBox type="number" ID="TxtImporteDic" runat="server" MaxLength="7" Width="100%"></asp:TextBox>
|
|
|
|
|
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtImporteDic"
|
|
|
|
|
Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Importe Diciembre''</b> es necesario, por favor ingréselo."
|
|
|
|
|
ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
|
|
|
|
<ajax:ValidatorCalloutExtender ID="ValidatorCalloutExtender3" runat="server" HighlightCssClass="VCOImporte"
|
|
|
|
|
TargetControlID="RFVDestino" Width="100%">
|
|
|
|
|
</ajax:ValidatorCalloutExtender>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</asp:Panel>
|
|
|
|
|
</div>
|
|
|
|
|
|