341 lines
32 KiB
Plaintext
341 lines
32 KiB
Plaintext
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" EnableEventValidation="false" AutoEventWireup="true" CodeFile="Fletes.aspx.cs" Inherits="CGame_Fletes" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
<style>
|
|
a#C_GvFlete_LnkEditar_0 {
|
|
display: none;
|
|
}
|
|
|
|
a#C_GvFlete_imgD_0 {
|
|
display: none;
|
|
}
|
|
</style>
|
|
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
Fletes
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
<asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<li>
|
|
<asp:LinkButton ID="LnkAddFlete" OnClick="LnkAddFlete_Click" runat="server"><i class="fa fa-plus"></i>Agregar Flete</asp:LinkButton>
|
|
</li>
|
|
<li>
|
|
<asp:LinkButton ID="LbkExportarExcel" OnClick="LbkExportarExcel_Click" runat="server"><i class="fa fa-ad-excel"></i>Exportar Excel</asp:LinkButton>
|
|
</li>
|
|
</ContentTemplate>
|
|
<Triggers>
|
|
<asp:PostBackTrigger ControlID="LbkExportarExcel" />
|
|
</Triggers>
|
|
</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" UpdateMode="Conditional" runat="server">
|
|
<ContentTemplate>
|
|
<div class="portlet solid grey-cascade portlet-filter">
|
|
<div class="portlet-title portlet-filterT smalltitle">
|
|
<div class="tools">
|
|
<asp:Button ID="BtnConsultar" OnClick="BtnConsultar_Click" runat="server" Text="Consultar" ValidationGroup="GrpFiltros" class="btn btn-primary" />
|
|
<a href="javascript:;" class="expand"></a>
|
|
</div>
|
|
<div class="titlefiltros caption ">
|
|
<div class="row">
|
|
<div class="col-md-1" style="max-width: 70px">Tipo:</div>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlFiltrosTipo" Width="100%" CssClass="select2me " runat="server" AppendDataBoundItems="true">
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
<asp:ListItem Text="Huerta Empaque" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Empaque USA" Value="2"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<div class="col-md-1" style="max-width: 85px">Tipo Flete:</div>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlFiltrosTipoFlete" Width="100%" CssClass="select2me" runat="server" AppendDataBoundItems="true">
|
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
|
<asp:ListItem Text="Interno" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Externo" Value="2"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<div class="col-md-1" style="max-width: 85px">Fecha Inicio:</div>
|
|
<div class="col-md-2" style="max-width: 120px">
|
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 90px !important; padding: 0px;">
|
|
<asp:TextBox ID="TxtFiltrosFechaInicio" CssClass="form-control input-sm ADSMaskDate" Style="width: 80px" runat="server"></asp:TextBox>
|
|
<span class="input-group-btn ">
|
|
<asp:LinkButton ID="LBFiltrosCalendarioInicio" class="btn default " Text=" <i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
</span>
|
|
<ajax:MaskedEditExtender ID="MEEFiltrosFechaInicio" runat="server" TargetControlID="TxtFiltrosFechaInicio" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
<ajax:CalendarExtender runat="server" ID="CEFiltrosFechaInicio" TargetControlID="TxtFiltrosFechaInicio" PopupButtonID="LBFiltrosCalendarioInicio" PopupPosition="BottomRight" Enabled="True" Format="dd/MM/yyyy"></ajax:CalendarExtender>
|
|
<asp:RequiredFieldValidator ID="RFVFiltrosFechaInicio" runat="server" ControlToValidate="TxtFiltrosFechaInicio" 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="GrpFiltros"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCEFiltrosFechaInicio" runat="server" HighlightCssClass="vco" TargetControlID="RFVFiltrosFechaInicio"></ajax:ValidatorCalloutExtender>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-1" style="max-width: 70px">Fecha Fin:</div>
|
|
<div class="col-md-2">
|
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 90px !important; padding: 0px;">
|
|
<asp:TextBox ID="TxtFiltrosFechaFin" CssClass="form-control input-sm ADSMaskDate" Style="width: 80px" runat="server"></asp:TextBox>
|
|
<span class="input-group-btn ">
|
|
<asp:LinkButton ID="LBFiltrosCalendarioFin" class="btn default " Text=" <i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
</span>
|
|
<ajax:MaskedEditExtender ID="MEEFiltrosFechaFin" runat="server" TargetControlID="TxtFiltrosFechaFin" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
<ajax:CalendarExtender runat="server" ID="CEFiltrosFechaFin" TargetControlID="TxtFiltrosFechaFin" PopupButtonID="LBFiltrosCalendarioFin" PopupPosition="BottomRight" Enabled="True" Format="dd/MM/yyyy"></ajax:CalendarExtender>
|
|
<asp:RequiredFieldValidator ID="RFVFiltrosFechaFin" runat="server" ControlToValidate="TxtFiltrosFechaFin" 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="GrpFiltros"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCEFiltrosFechaFin" runat="server" HighlightCssClass="vco" TargetControlID="RFVFiltrosFechaFin"></ajax:ValidatorCalloutExtender>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="portlet-body" style="display: none;">
|
|
<div class="row">
|
|
<label class="col-md-1" style="max-width: 70px">Huerta:</label>
|
|
<div class="col-md-2">
|
|
<asp:DropDownList ID="DdlHuertaFiltro" runat="server" AppendDataBoundItems="true" DataTextField="Huerta" DataValueField="CveHuerta" CssClass="select2me" Width="100%">
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
|
|
|
|
<asp:UpdatePanel ID="UpDatos" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="row" style="margin-right: 10px; margin-top: 18px;" align="right">
|
|
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvFlete.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvFlete.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
|
</div>
|
|
<asp:GridView ID="GvFlete" OnRowDataBound="GvFlete_RowDataBound" EmptyDataText="No se encontraron fletes con los filtros seleccionados" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD mysmallbtn" data-sort="true" Width="100%" AutoGenerateColumns="False"
|
|
DataKeyNames="CveFlete,CveAFTractor,CveAFRemolque,CveScat,CveChofer,CveFleteHuertaEmpaque,CveHuerta,CveOrdenProduccion,CveProveedor,Fecha,FechaIng,KmFin,KmInicio,Tipo,TipoFlete,Huerta,Folio,RazonSocial,Usuario,ConCruce,Adjunto,CveOrdenCorte,TipoEmpaque,Camion,Placa,Color,Chofer,Importe,CveEmpaque">
|
|
<Columns>
|
|
<asp:BoundField DataField="FolioOP" ItemStyle-Width="5%" HeaderText="O.P." ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="Folio" ItemStyle-Width="5%" HeaderText="O.C." ItemStyle-HorizontalAlign="Center" />
|
|
<asp:TemplateField HeaderText="Tipo" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Label ID="LblTipo" runat="server" Text='<%# Eval("Tipo")%>'> </asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Tipo de Flete" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Label ID="LblTipoFlete" runat="server" Text='<%# Eval("TipoFlete")%>'> </asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:BoundField DataField="DescripcionTractor" ItemStyle-Width="5%" HeaderText="Unidad" ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="Peso" HeaderText="Peso(TON)" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Importe" HeaderText="Importe" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" />
|
|
<asp:BoundField DataField="Fecha" ItemStyle-Width="15%" HeaderText="Fecha" ItemStyle-HorizontalAlign="Center" DataFormatString="{0:d}" />
|
|
<asp:BoundField DataField="FechaIng" ItemStyle-Width="15%" HeaderText="Fecha de Ingreso" ItemStyle-HorizontalAlign="Center" DataFormatString="{0:d}" />
|
|
<asp:TemplateField HeaderText="Usuario" ItemStyle-HorizontalAlign="Left">
|
|
<ItemTemplate>
|
|
<asp:Label ID="LblUsuario" runat="server" Text='<%# Eval("Usuario")%>'> </asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="15%" HeaderText="Comandos">
|
|
<ItemTemplate>
|
|
<asp:LinkButton data-toggle="tooltip" title="Editar" ID="LnkEditar" OnClick="LnkEditarFlete_Click" CssClass="btn btn-circle btn-sm green" runat="server" Text="<i class='fa fa-pencil'></i>"></asp:LinkButton>
|
|
<asp:LinkButton ID="imgD" runat="server" OnClick="LnkEliminarFlete_Click" CssClass="btn btn-circle btn-sm red" Text="<i class='icon-trash'></i>" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar el flete?" data-btn-ok-label="si" />
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
</asp:GridView>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
<div id="DModalFlete" class="modal ADS fade" role="dialog">
|
|
<asp:UpdatePanel class="modal-dialog" runat="server" ID="UpModalFleteAdd" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="modal-content">
|
|
<div class="modal-header ">
|
|
<h4 class="modal-title">
|
|
<asp:Literal ID="ltlMotititulo" Text="Flete" runat="server"> </asp:Literal></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<asp:DropDownList ID="DdlTipo" CssClass="form-control select2me " AutoPostBack="true" OnSelectedIndexChanged="DdlTipo_SelectedIndexChanged" runat="server" AppendDataBoundItems="true" Style="width: 100%">
|
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
|
<asp:ListItem Text="Huerta Empaque" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Empaque USA" Value="2"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
<label for="<%= DdlTipo.ClientID.ToString()%>">Tipo:</label>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6" id="DivFecha" visible="false" runat="server">
|
|
<div class="row">
|
|
<div class="col-md-2" style="text-align: left">Fecha:</div>
|
|
<div class="col-md-2">
|
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
|
|
<asp:TextBox ID="TxtFecha" CssClass="form-control input-sm ADSMaskDate" Style="width: 118px" runat="server"></asp:TextBox>
|
|
<span class="input-group-btn ">
|
|
<asp:LinkButton ID="LnkCortfecha" class="btn default " Text=" <i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
|
</span>
|
|
<ajax:MaskedEditExtender ID="MEECortfecha" runat="server" TargetControlID="TxtFecha" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
|
<ajax:CalendarExtender runat="server" ID="CEECortfecha" TargetControlID="TxtFecha" PopupButtonID="LnkCortfecha" PopupPosition="BottomRight" Enabled="True" Format="dd/MM/yyyy"></ajax:CalendarExtender>
|
|
<asp:RequiredFieldValidator ID="RfvCortfecha" runat="server" ControlToValidate="TxtFecha" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> es necesario, por favor ingréselo." ValidationGroup="VGMCort"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VcoCortfecha" runat="server" HighlightCssClass="vco" TargetControlID="RfvCortfecha"></ajax:ValidatorCalloutExtender>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<asp:DropDownList ID="DdlTipoFlete" CssClass="form-control select2me" AutoPostBack="true" OnSelectedIndexChanged="DdlTipoFlete_SelectedIndexChanged" runat="server" AppendDataBoundItems="true" Style="width: 47%">
|
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
|
<asp:ListItem Text="Interno" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Externo" Value="2"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
<label for="<%= DdlTipo.ClientID.ToString()%>">Tipo Flete:</label>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="form-group form-md-line-input input-iconright" id="DivOrdenCorte" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlOrdenCorte" CssClass="form-control select2me" AppendDataBoundItems="true" OnSelectedIndexChanged="DdlOrdenCorte_SelectedIndexChanged" Style="width: 100%;" runat="server" AutoPostBack="true" DataTextField="FolioFechaHuerta" DataValueField="CveOrdenCorte">
|
|
</asp:DropDownList>
|
|
<label for="<%= DdlOrdenCorte.ClientID.ToString()%>">Folio OC:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivFleteHuertaEmpaque" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlFleteHuertaEmpaque" CssClass="form-control select2me" AppendDataBoundItems="true" Style="width: 100%;" runat="server" DataTextField="FolioFechaEmpaque" DataValueField="CveFleteHuertaEmpaque">
|
|
</asp:DropDownList>
|
|
<label for="<%= DdlFleteHuertaEmpaque.ClientID.ToString()%>">Flete:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivHuerta" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlHuerta" CssClass="form-control select2me" AppendDataBoundItems="true" Style="width: 100%;" runat="server" DataTextField="Huerta" DataValueField="CveHuerta">
|
|
</asp:DropDownList>
|
|
<label for="<%= DdlHuerta.ClientID.ToString()%>">Huerta:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivRemolque" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlRemolque" CssClass="form-control select2me " runat="server" AppendDataBoundItems="true" DataTextField="CodigoDescripcion" DataValueField="CveActivoFijo" Style="width: 100%"></asp:DropDownList>
|
|
<label for="<%= DdlRemolque.ClientID.ToString()%>">Remolque:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivTractor" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlTractor" CssClass="form-control select2me " runat="server" AppendDataBoundItems="true" DataTextField="CodigoDescripcion" DataValueField="CveActivoFijo" Style="width: 100%"></asp:DropDownList>
|
|
<label for="<%= DdlTractor.ClientID.ToString()%>">Tractor:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivChofer" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlChofer" CssClass="form-control select2me " runat="server" AppendDataBoundItems="true" DataTextField="Chofer" DataValueField="CveChofer" Style="width: 100%"></asp:DropDownList>
|
|
<label for="<%= DdlChofer.ClientID.ToString()%>">Chofer:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivProveedor" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlProveedor" CssClass="form-control select2me " runat="server" DataTextField="RazonSocial" AppendDataBoundItems="true" DataValueField="CveProveedor" Style="width: 100%"></asp:DropDownList>
|
|
<label for="<%= DdlProveedor.ClientID.ToString()%>">Proveedor:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivOrdenProduccion" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlOrdenProduccion" CssClass="form-control select2me " runat="server" DataTextField="FolioClienteFecha" AppendDataBoundItems="true" DataValueField="CveOrdenProduccion" Style="width: 100%"></asp:DropDownList>
|
|
<label for="<%= DdlOrdenProduccion.ClientID.ToString()%>">Orden de Producción:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivEmpaque" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlEmpaque" DataValueField="CveEmpaque" DataTextField="Empaque" runat="server" CssClass="form-control select2me" AppendDataBoundItems="true" Style="width: 100%"></asp:DropDownList>
|
|
<label for="<%= DdlEmpaque.ClientID.ToString()%>">Empaque:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivTipoEmpaque" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlTipoEmpaque" CssClass="form-control select2me" runat="server" AppendDataBoundItems="true" Style="width: 100%">
|
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
|
<asp:ListItem Text="Full" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Sencillo" Value="2"></asp:ListItem>
|
|
<asp:ListItem Text="TermoFull" Value="3"></asp:ListItem>
|
|
<asp:ListItem Text="TermoSencillo" Value="4"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
<label for="<%= DdlTipoEmpaque.ClientID.ToString()%>">Tipo Empaque:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivTxtChofer" runat="server" visible="false">
|
|
<asp:TextBox ID="TxtChofer" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RFVChofer" runat="server" ControlToValidate="TxtChofer" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Chofer''</b> es necesario, por favor ingréselo." ValidationGroup="VGFlete"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCEChofer" runat="server" HighlightCssClass="vco" TargetControlID="RFVChofer"></ajax:ValidatorCalloutExtender>
|
|
<label for="<%= TxtChofer.ClientID.ToString()%>">Chofer:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivCamion" runat="server" visible="false">
|
|
<asp:TextBox ID="TxtCamion" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RFVCamion" runat="server" ControlToValidate="TxtCamion" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Camión''</b> es necesario, por favor ingréselo." ValidationGroup="VGFlete"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCECamion" runat="server" HighlightCssClass="vco" TargetControlID="RFVCamion"></ajax:ValidatorCalloutExtender>
|
|
<label for="<%= TxtCamion.ClientID.ToString()%>">Camión:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivColor" runat="server" visible="false">
|
|
<asp:TextBox ID="TxtColor" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RFVColor" runat="server" ControlToValidate="TxtColor" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Color''</b> es necesario, por favor ingréselo." ValidationGroup="VGFlete"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCEColor" runat="server" HighlightCssClass="vco" TargetControlID="RFVColor"></ajax:ValidatorCalloutExtender>
|
|
<label for="<%= TxtColor.ClientID.ToString()%>">Color:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivPlaca" runat="server" visible="false">
|
|
<asp:TextBox ID="TxtPlaca" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RFVPlaca" runat="server" ControlToValidate="TxtPlaca" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Placa''</b> es necesario, por favor ingréselo." ValidationGroup="VGFlete"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCEPlaca" runat="server" HighlightCssClass="vco" TargetControlID="RFVPlaca"></ajax:ValidatorCalloutExtender>
|
|
<label for="<%= TxtPlaca.ClientID.ToString()%>">Placa:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivKmInicio" runat="server" visible="false">
|
|
<asp:TextBox ID="TxtKmInicio" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RfvKmInicio" runat="server" ControlToValidate="TxtKmInicio" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Km. Inicio''</b> es necesario, por favor ingréselo." ValidationGroup="VGFlete"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VcoKmInicio" runat="server" HighlightCssClass="vco" TargetControlID="RfvKmInicio"></ajax:ValidatorCalloutExtender>
|
|
<ajax:FilteredTextBoxExtender ID="SoloNumeros1" runat="server" TargetControlID="TxtKmInicio" FilterType="Custom, Numbers" ValidChars="." />
|
|
<label for="<%= TxtKmInicio.ClientID.ToString()%>">Km. Inicio:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivKmFin" runat="server" visible="false">
|
|
<asp:TextBox ID="TxtKmFin" CssClass="form-control" runat="server"></asp:TextBox>
|
|
<ajax:FilteredTextBoxExtender ID="SoloNumeros2" runat="server" TargetControlID="TxtKmFin" FilterType="Custom, Numbers" ValidChars="." />
|
|
<label for="<%= TxtKmFin.ClientID.ToString()%>">Km. Fin:</label>
|
|
</div>
|
|
<div class="row" id="DivImporte" runat="server" visible="false">
|
|
<div class="col-md-6">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<asp:TextBox ID="TxtImporte" CssClass="form-control" runat="server"></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="VGFlete"></asp:RequiredFieldValidator>
|
|
<ajax:ValidatorCalloutExtender ID="VCEImporte" runat="server" HighlightCssClass="vco" TargetControlID="RFVImporte"></ajax:ValidatorCalloutExtender>
|
|
<ajax:FilteredTextBoxExtender ID="SoloNumeros3" runat="server" TargetControlID="TxtImporte" FilterType="Custom, Numbers" ValidChars="." />
|
|
<label for="<%= TxtImporte.ClientID.ToString()%>">Importe:</label>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6" id="DivImporteCalcula" runat="server" visible="false">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= ChkCalculaImporte.ClientID.ToString()%>">¿Calcular Atm.?</label>
|
|
<asp:CheckBox ID="ChkCalculaImporte" OnCheckedChanged="ChkCalculaImporte_CheckedChanged" AutoPostBack="true" runat="server" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivScat" runat="server" visible="false">
|
|
<asp:DropDownList ID="DdlScat" CssClass="form-control select2me " runat="server" AppendDataBoundItems="true" DataTextField="Scat" DataValueField="CveScat" Style="width: 100%"></asp:DropDownList>
|
|
<label for="<%= DdlTractor.ClientID.ToString()%>">Scat:</label>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright" id="DivConCruce" runat="server" visible="false">
|
|
<label for="<%= ChkConCruce.ClientID.ToString()%>">¿Con Cruce?</label>
|
|
<asp:CheckBox ID="ChkConCruce" runat="server" />
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6" id="DivAdjunto" runat="server" visible="false">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<asp:TextBox ID="TxtModalAdjuntoArchivo" CssClass="ADSdropzone hidden" data-maxFile="1" runat="server"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<div class="row">
|
|
<div class="col-md-12" align="center">
|
|
<asp:LinkButton ID="LnkDescargar" OnClick="LnkDescargar_Click" Visible="false" data-toggle="tooltip" data-placement="top" ToolTip="Descargar Adjunto" runat="server"><i class="fa fa-arrow-circle-down" style="color:green" aria-hidden="true"></i></asp:LinkButton>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<asp:Button ID="BtnAddFlete" OnClick="BtnAddFlete_Click" runat="server" Text="Agregar" CssClass="btn btn-primary" ValidationGroup="VGFlete" />
|
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
<Triggers>
|
|
<asp:PostBackTrigger ControlID="LnkDescargar" />
|
|
</Triggers>
|
|
</asp:UpdatePanel>
|
|
</div>
|
|
</asp:Content>
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
</asp:Content>
|
|
|