Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -114,7 +114,7 @@
|
|||||||
<asp:TextBox ID="TxtConvenio" runat="server" MaxLength="18" Width="200px"></asp:TextBox></td>
|
<asp:TextBox ID="TxtConvenio" runat="server" MaxLength="18" Width="200px"></asp:TextBox></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="TrConvenioNomina" runat="server" visible="false">
|
<tr id="TrConvenioNomina" runat="server" visible="false">
|
||||||
<td>Convenio:</td>
|
<td>Convenio Nómina:</td>
|
||||||
<td>
|
<td>
|
||||||
<asp:TextBox ID="TxtConvenioNomina" runat="server" MaxLength="18" Width="200px"></asp:TextBox></td>
|
<asp:TextBox ID="TxtConvenioNomina" runat="server" MaxLength="18" Width="200px"></asp:TextBox></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
||||||
<link href="/Metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css" rel="stylesheet" />
|
<link href="/Metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css" rel="stylesheet" />
|
||||||
|
<link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" />
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||||
|
|
||||||
@@ -345,7 +345,7 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group form-md-line-input" style="width:206px!important">
|
<div class="form-group form-md-line-input" style="width: 206px!important">
|
||||||
<asp:DropDownList ID="DdlCveTipoProveedor" runat="server" CssClass="form-control select2me " Width="206px" AutoPostBack="True" OnSelectedIndexChanged="DdlCveTipoProveedor_SelectedIndexChanged">
|
<asp:DropDownList ID="DdlCveTipoProveedor" runat="server" CssClass="form-control select2me " Width="206px" AutoPostBack="True" OnSelectedIndexChanged="DdlCveTipoProveedor_SelectedIndexChanged">
|
||||||
<asp:ListItem Selected="True" Text="-" Value="0"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="-" Value="0"></asp:ListItem>
|
||||||
<asp:ListItem Text="Proveedor" Value="1"></asp:ListItem>
|
<asp:ListItem Text="Proveedor" Value="1"></asp:ListItem>
|
||||||
@@ -384,7 +384,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" id="TrConfianzaProveedor" runat="server" visible="false" >
|
<div class="row" id="TrConfianzaProveedor" runat="server" visible="false">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="form-group form-md-line-input">
|
<div class="form-group form-md-line-input">
|
||||||
|
|
||||||
@@ -660,7 +660,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>--%>
|
</div>--%>
|
||||||
|
|
||||||
<div class="portlet light smmallpadding bordered " style="display:none!important">
|
<div class="portlet light smmallpadding bordered " style="display: none!important">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
<div class="caption font-green">
|
<div class="caption font-green">
|
||||||
<i class="icon-pin font-green"></i>
|
<i class="icon-pin font-green"></i>
|
||||||
@@ -809,12 +809,12 @@
|
|||||||
<asp:UpdatePanel ID="UPPDIOT" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UPPDIOT" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|
||||||
<table border="0" >
|
<table border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td>Tipo Tercero:</td>
|
<td>Tipo Tercero:</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="form-group form-md-line-input" style="width: 200px">
|
<div class="form-group form-md-line-input" style="width: 200px">
|
||||||
<asp:DropDownList ID="DDlDIOTTipoTercero" runat="server" Width="100%" AutoPostBack="true" OnSelectedIndexChanged ="DDlDIOTTipoTercero_SelectedIndexChanged">
|
<asp:DropDownList ID="DDlDIOTTipoTercero" runat="server" Width="100%" AutoPostBack="true" OnSelectedIndexChanged="DDlDIOTTipoTercero_SelectedIndexChanged">
|
||||||
<asp:ListItem Text="-" Value="0"></asp:ListItem>
|
<asp:ListItem Text="-" Value="0"></asp:ListItem>
|
||||||
<asp:ListItem Text="04 - Proveedor Nacional" Value="1"></asp:ListItem>
|
<asp:ListItem Text="04 - Proveedor Nacional" Value="1"></asp:ListItem>
|
||||||
<asp:ListItem Text="05 - Proveedor Extranjero" Value="2"></asp:ListItem>
|
<asp:ListItem Text="05 - Proveedor Extranjero" Value="2"></asp:ListItem>
|
||||||
@@ -890,7 +890,7 @@
|
|||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<asp:Button ID="BtnVincularCuenta" runat="server" CssClass="btn btn-primary btn-sm" Text="+ Cuenta" Visible="false" />
|
<asp:Button ID="BtnVincularCuenta" runat="server" CssClass="btn btn-primary btn-sm" Text="+ Cuenta" Visible="false" />
|
||||||
<asp:Button ID="BtnCuentaDesglose" runat="server" CssClass="btn btn-primary btn-sm" Text="+ Crear Cuenta Proveedores" Visible="false" CommandArgument="Proveedores" OnClick="BtnCuentaDesglose_Click" />
|
<asp:Button ID="BtnCuentaDesglose" runat="server" CssClass="btn btn-primary btn-sm" Text="+ Crear Cuenta Proveedores" Visible="false" CommandArgument="Proveedores" OnClick="BtnCuentaDesglose_Click" />
|
||||||
<asp:GridView ID="GvCta" runat="server" DataKeyNames="CveConceptoContable,CveCuentaAsignacion,CveCuenta" AutoGenerateColumns="False" EmptyDataText="" ToolTip="Listado de Historial de Ventas" CssClass="table table-striped table-advance table-hover" Style=" width: 100%;" GridLines="None">
|
<asp:GridView ID="GvCta" runat="server" DataKeyNames="CveConceptoContable,CveCuentaAsignacion,CveCuenta" AutoGenerateColumns="False" EmptyDataText="" ToolTip="Listado de Historial de Ventas" CssClass="table table-striped table-advance table-hover" Style="width: 100%;" GridLines="None">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:BoundField HeaderText="Concepto Contable" DataField="ConceptoContable" />
|
<asp:BoundField HeaderText="Concepto Contable" DataField="ConceptoContable" />
|
||||||
<asp:BoundField HeaderText="Nombre Cuenta" DataField="NombreCuenta" />
|
<asp:BoundField HeaderText="Nombre Cuenta" DataField="NombreCuenta" />
|
||||||
@@ -903,7 +903,6 @@
|
|||||||
</asp:GridView>
|
</asp:GridView>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="divCuentasContp" runat="server" visible="false">
|
<div id="divCuentasContp" runat="server" visible="false">
|
||||||
@@ -916,15 +915,8 @@
|
|||||||
|
|
||||||
<ajax:TabPanel ID="TabHistorial" runat="server" HeaderText="Historial de Compras">
|
<ajax:TabPanel ID="TabHistorial" runat="server" HeaderText="Historial de Compras">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
<asp:UpdatePanel ID="UpnResumenHistorial" runat="server" UpdateMode="Conditional">
|
||||||
<%-- <table border="0" runat="server" id="tHistorial" class="SubTotales3" width="100%">
|
<ContentTemplate>
|
||||||
<tr>
|
|
||||||
<td width="120px">Filtrar por Sucursal:</td>
|
|
||||||
<td style="text-align: left;">
|
|
||||||
<asp:RadioButtonList runat="server" ID="RBHistorial" DataTextField="ProveedorSucursal" DataValueField="Serie" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="RBHistorial_SelectedIndexChanged"></asp:RadioButtonList>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>--%>
|
|
||||||
<div class="portlet light xspadding bordered ">
|
<div class="portlet light xspadding bordered ">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
<div class="caption font-green">
|
<div class="caption font-green">
|
||||||
@@ -935,7 +927,6 @@
|
|||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||||
<a href="javascript:;" class="fullscreen" data-original-title="" title=""></a>
|
<a href="javascript:;" class="fullscreen" data-original-title="" title=""></a>
|
||||||
@@ -971,6 +962,8 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</ContentTemplate>
|
||||||
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<div class="portlet light xspadding bordered ">
|
<div class="portlet light xspadding bordered ">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
@@ -980,7 +973,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@@ -1009,7 +1001,6 @@
|
|||||||
<td>
|
<td>
|
||||||
<asp:UpdatePanel ID="UpnHistorial" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpnHistorial" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Button ID="BtnCargaHistorial" runat="server" ClientIDMode="Static" Text="CargarHistorial" Style="display: none;" OnClick="BtnCargaHistorial_Click" />
|
|
||||||
<asp:GridView ID="GVHistorial" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron compras del proveedor" ToolTip="Listado de Historial de Ventas"
|
<asp:GridView ID="GVHistorial" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron compras del proveedor" ToolTip="Listado de Historial de Ventas"
|
||||||
CssClass="table table-striped table-advance table-hover Widthall ScrollAD" data-sort="true" AlternatingRowStyle-BorderStyle="None" GridLines="None" BorderColor="#D3D3D3" BorderWidth="1">
|
CssClass="table table-striped table-advance table-hover Widthall ScrollAD" data-sort="true" AlternatingRowStyle-BorderStyle="None" GridLines="None" BorderColor="#D3D3D3" BorderWidth="1">
|
||||||
<Columns>
|
<Columns>
|
||||||
@@ -1049,13 +1040,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle HorizontalAlign="Right" />
|
<ItemStyle HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:BoundField DataField="Abreviatura" HeaderText="Mon" ItemStyle-HorizontalAlign="Center"/>
|
<asp:BoundField DataField="Abreviatura" HeaderText="Mon" ItemStyle-HorizontalAlign="Center" />
|
||||||
<%-- <asp:TemplateField>
|
|
||||||
<HeaderTemplate>Estatus</HeaderTemplate>
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlEstatus" runat="server" Text='<%# Eval("EstatusFactura") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>--%>
|
|
||||||
</Columns>
|
</Columns>
|
||||||
<RowStyle CssClass="Texto" />
|
<RowStyle CssClass="Texto" />
|
||||||
<AlternatingRowStyle CssClass="TextoAlterno" />
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
||||||
@@ -1080,7 +1065,7 @@
|
|||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:UpdatePanel ID="UPPCxP" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UPPCxP" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Button ID="BtnCargaCxP" runat="server" ClientIDMode="Static" Text="CargarCxP" Style="display: none;" OnClick="BtnCargaCxP_Click" />
|
|
||||||
<asp:Button ID="BtnRecargaCxP" ClientIDMode="Static" runat="server" Style="display: none;" Text="ConsultarCxP" />
|
<asp:Button ID="BtnRecargaCxP" ClientIDMode="Static" runat="server" Style="display: none;" Text="ConsultarCxP" />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
@@ -1202,7 +1187,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet light xspadding bordered ">
|
<div class="portlet light xspadding bordered ">
|
||||||
@@ -1212,6 +1196,7 @@
|
|||||||
<span class="caption-subject bold uppercase">CxP Activas</span>
|
<span class="caption-subject bold uppercase">CxP Activas</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
|
|
||||||
@@ -1239,14 +1224,12 @@
|
|||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-body ">
|
<div class="portlet-body ">
|
||||||
<div class="row" style="margin-right: 10px;" align="right">
|
<div class="row" style="margin-right: 10px;" align="right">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<asp:GridView ID="GvCxP" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Cuentas X Pagar Pendientes"
|
<asp:GridView ID="GvCxP" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Cuentas X Pagar Pendientes"
|
||||||
CssClass="table Widthall table-striped table-hover ScrollAD" data-sort="true" GridLines="None" BorderColor="#D3D3D3" BorderWidth="1" DataKeyNames="CveCompra">
|
CssClass="table Widthall table-striped table-hover ScrollAD" data-sort="true" GridLines="None" BorderColor="#D3D3D3" BorderWidth="1" DataKeyNames="CveCompra">
|
||||||
@@ -1308,7 +1291,6 @@
|
|||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField Visible="False" HeaderText="Abonar">
|
<asp:TemplateField Visible="False" HeaderText="Abonar">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<%--<asp:Image ID="ImgAbonar" runat="server" ImageUrl="~/Imagenes/Money_add.png" AlternateText="Registrar Pago/Abono" Style="cursor:pointer;" />--%>
|
|
||||||
<asp:HyperLink ID="ImgAbonar" CssClass="Texto thickbox" runat="server" ImageUrl="~/Imagenes/Money_add.png" ToolTip="Registrar Pago/Abono"></asp:HyperLink>
|
<asp:HyperLink ID="ImgAbonar" CssClass="Texto thickbox" runat="server" ImageUrl="~/Imagenes/Money_add.png" ToolTip="Registrar Pago/Abono"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
@@ -1353,7 +1335,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="portlet-body ">
|
<div class="portlet-body ">
|
||||||
<div class="row" style="margin-right: 10px;" align="right">
|
<div class="row" style="margin-right: 10px;" align="right">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<asp:GridView ID="GvCxPHistorial" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontró Historial de Cuentas X Pagar" CssClass="table table-striped table-hover Widthall ScrollAD" data-sort="true" GridLines="None" BorderColor="#D3D3D3" BorderWidth="1">
|
<asp:GridView ID="GvCxPHistorial" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontró Historial de Cuentas X Pagar" CssClass="table table-striped table-hover Widthall ScrollAD" data-sort="true" GridLines="None" BorderColor="#D3D3D3" BorderWidth="1">
|
||||||
<Columns>
|
<Columns>
|
||||||
@@ -1424,18 +1405,6 @@
|
|||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:UpdatePanel runat="server" ID="UpAnticipos" UpdateMode="Conditional">
|
<asp:UpdatePanel runat="server" ID="UpAnticipos" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Button ID="BtnCargaAnticipos" runat="server" ClientIDMode="Static" Text="CargarAnticipos" Style="display: none;" OnClick="BtnCargaAnticipos_Click" />
|
|
||||||
|
|
||||||
<%--<table border="0" runat="server" id="tAnticipos" class="SubTotales3" width="100%">
|
|
||||||
<tr>
|
|
||||||
<td width="120px">Filtrar por Sucursal:</td>
|
|
||||||
<td style="text-align: left;">
|
|
||||||
<asp:RadioButtonList runat="server" ID="RBAnticipos" DataTextField="ProveedorSucursal" DataValueField="Serie" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="RBAnticipos_SelectedIndexChanged"></asp:RadioButtonList>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>--%>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="portlet light xspadding bordered ">
|
<div class="portlet light xspadding bordered ">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
@@ -1504,7 +1473,6 @@
|
|||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1517,7 +1485,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@@ -1525,7 +1492,8 @@
|
|||||||
<asp:UpdatePanel UpdateMode="Conditional" runat="server" ID="UpdatePanel7">
|
<asp:UpdatePanel UpdateMode="Conditional" runat="server" ID="UpdatePanel7">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|
||||||
<asp:HyperLink ID="HplAbonarMasivoNotas" Visible="False" runat="server" CssClass="Texto" NavigateUrl="#" ToolTip="Devolución múltiple">Devolución múltiple <img src="/Imagenes/Money_Add.png" alt="Pagar múltiples facturas" /></asp:HyperLink>
|
<asp:HyperLink ID="HplAbonarMasivoNotas" Visible="False" runat="server" CssClass="Texto" NavigateUrl="#" ToolTip="Devolución múltiple">Devolución múltiple <img src="/Imagenes/Money_Add.png" alt="Pagar múltiples facturas" /></asp:HyperLink>
|
||||||
|
|
||||||
|
|
||||||
<asp:LinkButton ID="LnkNCxAplicarPDF" runat="server" data-toggle="tooltip" Title="PDF"> <i class="fa fa-file-pdf-o" style="margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;"></i> </asp:LinkButton>
|
<asp:LinkButton ID="LnkNCxAplicarPDF" runat="server" data-toggle="tooltip" Title="PDF"> <i class="fa fa-file-pdf-o" style="margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;"></i> </asp:LinkButton>
|
||||||
<asp:LinkButton ID="LnkNCxAplicarExcel" runat="server" data-toggle="tooltip" Title="Excel"><i class="fa fa-file-excel-o" style="margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;"></i> </asp:LinkButton>
|
<asp:LinkButton ID="LnkNCxAplicarExcel" runat="server" data-toggle="tooltip" Title="Excel"><i class="fa fa-file-excel-o" style="margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;"></i> </asp:LinkButton>
|
||||||
@@ -1544,7 +1512,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="portlet-body ">
|
<div class="portlet-body ">
|
||||||
<div class="row" style="margin-right: 10px;" align="right">
|
<div class="row" style="margin-right: 10px;" align="right">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<asp:GridView ID="GvA" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Anticipos" DataKeyNames="CveCompra"
|
<asp:GridView ID="GvA" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Anticipos" DataKeyNames="CveCompra"
|
||||||
@@ -1573,7 +1540,6 @@
|
|||||||
<asp:TemplateField Visible="False" HeaderText="Abonar">
|
<asp:TemplateField Visible="False" HeaderText="Abonar">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Image ID="ImgAbonar" runat="server" ImageUrl="~/Imagenes/Money_add.png" AlternateText="Registrar Pago/Abono" Style="cursor: pointer;" Visible="False" />
|
<asp:Image ID="ImgAbonar" runat="server" ImageUrl="~/Imagenes/Money_add.png" AlternateText="Registrar Pago/Abono" Style="cursor: pointer;" Visible="False" />
|
||||||
<%-- Visible='<%# Eval("CveCompra").ToString <> "" andalso CDbl(Eval("Saldo")) > 0%>' />--%>
|
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
@@ -1604,7 +1570,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@@ -1628,7 +1593,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="portlet-body ">
|
<div class="portlet-body ">
|
||||||
<div class="row" style="margin-right: 10px;" align="right">
|
<div class="row" style="margin-right: 10px;" align="right">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<table border="0" class="Widthall">
|
<table border="0" class="Widthall">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -1684,7 +1648,7 @@
|
|||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:UpdatePanel runat="server" ID="UpBancos" UpdateMode="Conditional">
|
<asp:UpdatePanel runat="server" ID="UpBancos" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Button ID="BtnCargaBancos" runat="server" ClientIDMode="Static" Text="CargarBancos" Style="display: none;" OnClick="BtnCargaBancos_Click" />
|
|
||||||
<div class="portlet light xspadding bordered ">
|
<div class="portlet light xspadding bordered ">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
<div class="caption font-green">
|
<div class="caption font-green">
|
||||||
@@ -1824,7 +1788,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@@ -1952,17 +1915,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<div class="" align="right">
|
<div class="" align="right">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="table-scrollable">
|
<div class="table-scrollable">
|
||||||
<asp:GridView ID="GvPagosNoBancarios" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron pagos no bancarios" Width="50%"
|
<asp:GridView ID="GvPagosNoBancarios" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron pagos no bancarios" Width="50%"
|
||||||
CssClass="table table-striped table-advance table-hover ScrollAD" data-sort="false" BorderWidth="1" BorderColor="#D3D3D3" GridLines="None" DataKeyNames="CvePrePoliza,CveCompra,CveVenta,CvePersonal,ImporteMN,VentaSerieFolio,CompraSerieFolio,NombreCompleto,FechaIng,Abreviatura">
|
CssClass="table table-striped table-advance table-hover ScrollAD" data-sort="false" BorderWidth="1" BorderColor="#D3D3D3" GridLines="None" DataKeyNames="CvePrePoliza,CveCompra,CveVenta,CvePersonal,ImporteMN,VentaSerieFolio,CompraSerieFolio,NombreCompleto,FechaIng,Abreviatura">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:BoundField HeaderText="Nombre Completo" DataField="NombreCompleto"/>
|
<asp:BoundField HeaderText="Nombre Completo" DataField="NombreCompleto" />
|
||||||
<asp:BoundField HeaderText="Fecha" DataField="FechaIng" DataFormatString = "{0:dd/MM/yyyy}"/>
|
<asp:BoundField HeaderText="Fecha" DataField="FechaIng" DataFormatString="{0:dd/MM/yyyy}" />
|
||||||
<asp:HyperLinkField HeaderText="Venta Serie Folio" DataTextField="VentaSerieFolio" DataNavigateUrlFields="CveVenta" DataNavigateUrlFormatString="/Ventas/Ventas.aspx?CveVenta={0}"/>
|
<asp:HyperLinkField HeaderText="Venta Serie Folio" DataTextField="VentaSerieFolio" DataNavigateUrlFields="CveVenta" DataNavigateUrlFormatString="/Ventas/Ventas.aspx?CveVenta={0}" />
|
||||||
<asp:HyperLinkField HeaderText="Compra Serie Folio" DataTextField="CompraSerieFolio" DataNavigateUrlFields="CveCompra" DataNavigateUrlFormatString="/Compras/Compras.aspx?CveCompra={0}"/>
|
<asp:HyperLinkField HeaderText="Compra Serie Folio" DataTextField="CompraSerieFolio" DataNavigateUrlFields="CveCompra" DataNavigateUrlFormatString="/Compras/Compras.aspx?CveCompra={0}" />
|
||||||
<asp:TemplateField HeaderText="Importe" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="Importe" ItemStyle-HorizontalAlign="Right">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Literal ID="LtlImp" runat="server" Text='<%# Eval("ImporteMN", "{0:N2}")%>'></asp:Literal>
|
<asp:Literal ID="LtlImp" runat="server" Text='<%# Eval("ImporteMN", "{0:N2}")%>'></asp:Literal>
|
||||||
@@ -1984,7 +1946,7 @@
|
|||||||
|
|
||||||
<asp:UpdatePanel ID="UpOC" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpOC" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Button ID="BtnCargaOC" runat="server" ClientIDMode="Static" Text="CargarOC" Style="display: none;" OnClick="BtnCargaOC_Click" />
|
|
||||||
<div class="row" style="margin-right: 10px; margin-top: 18px;" align="right">
|
<div class="row" style="margin-right: 10px; margin-top: 18px;" align="right">
|
||||||
<input type="text" id="TxtBusqueda6" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda6','{0}')", GvOC.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
<input type="text" id="TxtBusqueda6" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda6','{0}')", GvOC.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda6','{0}')", GvOC.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda6','{0}')", GvOC.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||||
@@ -2023,57 +1985,13 @@
|
|||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</ajax:TabPanel>
|
</ajax:TabPanel>
|
||||||
|
|
||||||
<%-- <ajax:TabPanel ID="TabProductosXEntregar" runat="server" HeaderText="Productos por entregar">
|
|
||||||
<ContentTemplate>
|
|
||||||
<div class="portlet light xspadding bordered ">
|
|
||||||
<div class="portlet-title">
|
|
||||||
<div class="caption font-green">
|
|
||||||
<i class="icon-pin font-green"></i>
|
|
||||||
<span class="caption-subject bold uppercase">Productos Pendientes de Entrega</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="actions">
|
|
||||||
<div class="btn-group">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="tools">
|
|
||||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
|
||||||
<a href="javascript:;" class="fullscreen" data-original-title="" title=""></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="portlet-body nomarginleftright form-horizontal form-row-sepe formnombottom ">
|
|
||||||
<table cellspacing="0" rules="none" id="C_Tab_TabBancos_GvBancos" class="table table-striped table-hover" style="border-collapse: collapse; border: 1px solid #D3D3D3;">
|
|
||||||
<tr class="Titulos">
|
|
||||||
<th scope="col">Factura</th>
|
|
||||||
<th scope="col">Fecha</th>
|
|
||||||
<th scope="col">Cantidad</th>
|
|
||||||
<th scope="col">Producto</th>
|
|
||||||
</tr>
|
|
||||||
<tr class="Texto" style="background-color: LightGrey;">
|
|
||||||
<td style="width: 120px;">
|
|
||||||
<a id="C_Tab_TabBancos_GvBancos_HplFactura_0" class="Texto">HM-512</a>
|
|
||||||
</td>
|
|
||||||
<td style="width: 70px;">15/09/2014
|
|
||||||
</td>
|
|
||||||
<td style="width: 50px;">10
|
|
||||||
</td>
|
|
||||||
<td style="width: 350px;">IMPRESION
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</ContentTemplate>
|
|
||||||
</ajax:TabPanel>--%>
|
|
||||||
|
|
||||||
<ajax:TabPanel ID="TabDocs" runat="server" HeaderText="Documentación" CssClass="table table-hover table-advance Widthall" Visible="False">
|
<ajax:TabPanel ID="TabDocs" runat="server" HeaderText="Documentación" CssClass="table table-hover table-advance Widthall" Visible="False">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|
||||||
|
|
||||||
<asp:UpdatePanel runat="server" ID="UpDocumentos" UpdateMode="Conditional">
|
<asp:UpdatePanel runat="server" ID="UpDocumentos" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Button ID="BtnCargaDocs" runat="server" ClientIDMode="Static" Text="CargarDocs" Style="display: none;" OnClick="BtnCargaDocs_Click" />
|
|
||||||
<asp:GridView ID="GvDocs" AutoGenerateColumns="false" runat="server" GridLines="none"
|
<asp:GridView ID="GvDocs" AutoGenerateColumns="false" runat="server" GridLines="none"
|
||||||
DataKeyNames="CveDocumentacion,Documentacion,Orden,CveDocumentacionElectronica,Adjunto,Estatus,Observacion,Fecha,FechaIng,Usuario,FechaLimite,FechaVigencia,DiasLimite,AplicaDiasLimite,AplicaFechaVencimiento">
|
DataKeyNames="CveDocumentacion,Documentacion,Orden,CveDocumentacionElectronica,Adjunto,Estatus,Observacion,Fecha,FechaIng,Usuario,FechaLimite,FechaVigencia,DiasLimite,AplicaDiasLimite,AplicaFechaVencimiento">
|
||||||
<Columns>
|
<Columns>
|
||||||
@@ -2115,7 +2033,7 @@
|
|||||||
CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-upload' ></i>" />
|
CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-upload' ></i>" />
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="50px" Visible="false" >
|
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="50px" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Literal ID="ImgDownLoad" runat="server"></asp:Literal>
|
<asp:Literal ID="ImgDownLoad" runat="server"></asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -2126,7 +2044,7 @@
|
|||||||
<asp:LinkButton ID="LnkDownLoadDoc" CssClass="btn btn-circle btn-sm blue" OnClick="LnkDownLoadDoc_Click" runat="server"
|
<asp:LinkButton ID="LnkDownLoadDoc" CssClass="btn btn-circle btn-sm blue" OnClick="LnkDownLoadDoc_Click" runat="server"
|
||||||
Text="<i class='fa fa-download' style='color:white' title='Descargar Documento'></i>" CausesValidation="False" Visible="false" />
|
Text="<i class='fa fa-download' style='color:white' title='Descargar Documento'></i>" CausesValidation="False" Visible="false" />
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
|
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Right" ItemStyle-Width="50px" Visible="false">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Right" ItemStyle-Width="50px" Visible="false">
|
||||||
@@ -2156,7 +2074,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<asp:UpdatePanel ID="UpGvUsuarios" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpGvUsuarios" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Button ID="BtnCargaPortal" runat="server" ClientIDMode="Static" Text="CargarPortal" Style="display: none;" OnClick="BtnCargaPortal_Click" />
|
|
||||||
<asp:GridView ID="GvUsuarios" runat="server" GridLines="None" DataKeyNames="CveUsuario, Usuario" CssClass="table table-striped table-advance table-hover Widthall mysmallbtn" CellSpacing="0" Width="100%" AutoGenerateColumns="False" EmptyDataText="No se encontraron registros" ToolTip="Listado de Estatus de Ordenes de Servicios">
|
<asp:GridView ID="GvUsuarios" runat="server" GridLines="None" DataKeyNames="CveUsuario, Usuario" CssClass="table table-striped table-advance table-hover Widthall mysmallbtn" CellSpacing="0" Width="100%" AutoGenerateColumns="False" EmptyDataText="No se encontraron registros" ToolTip="Listado de Estatus de Ordenes de Servicios">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:BoundField DataField="Usuario" ItemStyle-Width="30%" HeaderText="Usuario" ItemStyle-HorizontalAlign="Left" />
|
<asp:BoundField DataField="Usuario" ItemStyle-Width="30%" HeaderText="Usuario" ItemStyle-HorizontalAlign="Left" />
|
||||||
@@ -2759,30 +2677,22 @@
|
|||||||
|
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
<div class="caption font-green">
|
<div class="caption font-green">
|
||||||
<%--<i class="fa fa-users font-green"></i>--%>
|
|
||||||
<span class="caption-subject bold uppercase">Bitacora</span>
|
<span class="caption-subject bold uppercase">Bitacora</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<%--<%--<<%--div class=" font-green" style="cursor: pointer;" runat="server" id="ImgAddObs">
|
<asp:HyperLink ID="ImgAddObs" CssClass="caption-subject bold font-green" data-toggle="modal" data-target="#ModalBitacora" runat="server" Text=" <i class='fa fa-commenting font-green' ></i><span class='caption-subject bold'>Agregar</span>" Style="font-weight: 700 !important; cursor: pointer;" ToolTip="Observaciones"></asp:HyperLink><br />
|
||||||
<i class="fa fa-commenting font-green"></i>
|
|
||||||
<span class="caption-subject bold">Agregar</span>
|
|
||||||
</div>--%>
|
|
||||||
<asp:HyperLink ID="ImgAddObs" CssClass="caption-subject bold font-green" data-toggle="modal" data-target="#ModalBitacora" runat="server" Text=" <i class='fa fa-commenting font-green' ></i><span class='caption-subject bold'>Agregar</span>" Style="font-weight: 700 !important;cursor: pointer;" ToolTip="Observaciones"></asp:HyperLink><br />
|
|
||||||
<asp:HyperLink ID="HlEvento" CssClass="thickbox caption-subject bold" runat="server" Visible="false" Style="cursor: pointer; text-decoration: none;" ToolTip="Agendar">
|
<asp:HyperLink ID="HlEvento" CssClass="thickbox caption-subject bold" runat="server" Visible="false" Style="cursor: pointer; text-decoration: none;" ToolTip="Agendar">
|
||||||
<i class='fa fa-calendar-plus-o font-green' style='font-weight: 700 !important;' ></i> <span class="caption-subject bold font-green">Agendar</span>
|
<i class='fa fa-calendar-plus-o font-green' style='font-weight: 700 !important;' ></i> <span class="caption-subject bold font-green">Agendar</span>
|
||||||
</asp:HyperLink><br />
|
</asp:HyperLink><br />
|
||||||
<asp:Literal ID="LtlTareaNueva" runat="server" Visible="false"></asp:Literal>
|
<asp:Literal ID="LtlTareaNueva" runat="server" Visible="false"></asp:Literal>
|
||||||
<UserControl:TareaNueva runat="server" ID="TareaNueva" />
|
<UserControl:TareaNueva runat="server" ID="TareaNueva" />
|
||||||
<script> function OnAddedTareaNueva() { $('.btnupEventoBitacora').click(); }</script>
|
<script> function OnAddedTareaNueva() { $('.btnupEventoBitacora').click(); }</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
|
|
||||||
<asp:UpdatePanel ID="UPEventoBitacora" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UPEventoBitacora" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Button ID="btnupEventoBitacora" OnClick="btnupEventoBitacora_Click" UseSubmitBehavior="false" CssClass="hidden btnupEventoBitacora mysmallbtn" runat="server" Text="Button" />
|
<asp:Button ID="btnupEventoBitacora" OnClick="btnupEventoBitacora_Click" UseSubmitBehavior="false" CssClass="hidden btnupEventoBitacora mysmallbtn" runat="server" Text="Button" />
|
||||||
@@ -2834,7 +2744,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<%-- MODAL BITACORA --%>
|
|
||||||
<div id="ModalBitacora" class="modal ADS fade" role="dialog">
|
<div id="ModalBitacora" class="modal ADS fade" role="dialog">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
|
|
||||||
@@ -2854,7 +2763,6 @@
|
|||||||
<br />
|
<br />
|
||||||
<asp:TextBox CssClass="form-control" ID="TxtEventoDescripcion" class="Widthall" runat="server" TextMode="MultiLine" Columns="60" Rows="8"></asp:TextBox>
|
<asp:TextBox CssClass="form-control" ID="TxtEventoDescripcion" class="Widthall" runat="server" TextMode="MultiLine" Columns="60" Rows="8"></asp:TextBox>
|
||||||
<br />
|
<br />
|
||||||
<%--<asp:CheckBox ID="ChkEventoPrioridad" CssClass="md-checksd2" Text="Bitácora de Atención" runat="server" />--%>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div>
|
<div>
|
||||||
@@ -2862,9 +2770,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<%--<div>
|
|
||||||
<asp:TextBox ID="Anexo" CssClass="ADSdropzone hidden" data-maxFile="1" Text="" runat="server"></asp:TextBox>
|
|
||||||
</div> --%>
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
</div>
|
</div>
|
||||||
@@ -2886,7 +2791,6 @@
|
|||||||
<asp:UpdatePanel ID="UpAgregarSucursal" class="modal-content rowpadding" tabindex="-1" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpAgregarSucursal" class="modal-content rowpadding" tabindex="-1" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<%--<legend><b>Descripción</b></legend>--%>
|
|
||||||
<table border="0" class="portlet light bordered">
|
<table border="0" class="portlet light bordered">
|
||||||
<tr>
|
<tr>
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
@@ -2933,15 +2837,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtLimiteCreditoSuc" runat="server" CssClass="form-control" MaxLength="15" Text="0" onkeyup="FormatoMoneda(this)"></asp:TextBox>
|
<asp:TextBox ID="TxtLimiteCreditoSuc" runat="server" CssClass="form-control" MaxLength="15" Text="0" onkeyup="FormatoMoneda(this)"></asp:TextBox>
|
||||||
<%--<asp:RequiredFieldValidator ID="RFVLimiteCreditoSuc" runat="server" ControlToValidate="TxtLimiteCreditoSuc" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Límite de Crédito''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSucursal"></asp:RequiredFieldValidator>--%>
|
|
||||||
<%--<ajax:ValidatorCalloutExtender ID="VCELimiteCreditoSuc" runat="server" HighlightCssClass="vco" TargetControlID="RFVLimiteCreditoSuc" Width="300px"></ajax:ValidatorCalloutExtender>--%>
|
|
||||||
<label for="<%= TxtLimiteCreditoSuc.ClientID.ToString()%>">Límite de crédito:</label>
|
<label for="<%= TxtLimiteCreditoSuc.ClientID.ToString()%>">Límite de crédito:</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtPlazoCobranzaSuc" runat="server" CssClass="form-control" MaxLength="3" Text="0"></asp:TextBox>
|
<asp:TextBox ID="TxtPlazoCobranzaSuc" runat="server" CssClass="form-control" MaxLength="3" Text="0"></asp:TextBox>
|
||||||
<%--<asp:RequiredFieldValidator ID="RFVPlazoCobranzaSuc" runat="server" ControlToValidate="TxtPlazoCobranzaSuc" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Plazo de Cobranza''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardarSucursal"></asp:RequiredFieldValidator>--%>
|
|
||||||
<asp:CompareValidator ID="CVPlazoCobranzaSuc" runat="server" ControlToValidate="TxtPlazoCobranzaSuc" Display="None" ErrorMessage="El campo <b>''Plazo de Cobranza''</b> no tiene el formato correcto, por favor corrija e intente de nuevo (Solo formato numérico)." Operator="DataTypeCheck" Type="Integer" ValidationGroup="GrpGuardarSucursal"></asp:CompareValidator>
|
<asp:CompareValidator ID="CVPlazoCobranzaSuc" runat="server" ControlToValidate="TxtPlazoCobranzaSuc" Display="None" ErrorMessage="El campo <b>''Plazo de Cobranza''</b> no tiene el formato correcto, por favor corrija e intente de nuevo (Solo formato numérico)." Operator="DataTypeCheck" Type="Integer" ValidationGroup="GrpGuardarSucursal"></asp:CompareValidator>
|
||||||
<%--<ajax:ValidatorCalloutExtender ID="VCEPlazoCobranzaSuc" runat="server" HighlightCssClass="vco" TargetControlID="RFVPlazoCobranzaSuc" Width="300px"></ajax:ValidatorCalloutExtender>--%>
|
|
||||||
<ajax:ValidatorCalloutExtender ID="VCEPlazoCobranzaSuc2" runat="server" HighlightCssClass="vco" TargetControlID="CVPlazoCobranzaSuc" Width="300px"></ajax:ValidatorCalloutExtender>
|
<ajax:ValidatorCalloutExtender ID="VCEPlazoCobranzaSuc2" runat="server" HighlightCssClass="vco" TargetControlID="CVPlazoCobranzaSuc" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||||
<label for="<%= TxtPlazoCobranzaSuc.ClientID.ToString()%>">Plazo de Pago(Días):</label>
|
<label for="<%= TxtPlazoCobranzaSuc.ClientID.ToString()%>">Plazo de Pago(Días):</label>
|
||||||
</div>
|
</div>
|
||||||
@@ -2960,7 +2860,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</tr>
|
</tr>
|
||||||
<%-- Contactos por Sucursal --%>
|
|
||||||
</table>
|
</table>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div runat="server" id="DivPContactosSucursal" visible="false">
|
<div runat="server" id="DivPContactosSucursal" visible="false">
|
||||||
@@ -3034,7 +2933,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%-- MODAL CONTACTOS PROVEEDORES --%>
|
|
||||||
<div id="DivAgregarContactoProveedor" class="modal fade">
|
<div id="DivAgregarContactoProveedor" class="modal fade">
|
||||||
<div class="modal-dialog" style="max-height: 500px; max-width: 500px;">
|
<div class="modal-dialog" style="max-height: 500px; max-width: 500px;">
|
||||||
<asp:UpdatePanel ID="UpAgregarContatoProveedor" class="modal-content rowpadding" tabindex="-1" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpAgregarContatoProveedor" class="modal-content rowpadding" tabindex="-1" runat="server" UpdateMode="Conditional">
|
||||||
@@ -3072,7 +2970,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtExtContactoProveedor" CssClass="form-control " runat="server" MaxLength="15" CausesValidation="true"></asp:TextBox>
|
<asp:TextBox ID="TxtExtContactoProveedor" CssClass="form-control " runat="server" MaxLength="15" CausesValidation="true"></asp:TextBox>
|
||||||
<%--<ajax:MaskedEditExtender ID="MEETxtExtCont" runat="server" TargetControlID="TxtExtContactoProveedor" MaskType="Number" ></ajax:MaskedEditExtender>--%>
|
|
||||||
<label for="<%= TxtExtContactoProveedor.ClientID.ToString()%>">Extensión:</label>
|
<label for="<%= TxtExtContactoProveedor.ClientID.ToString()%>">Extensión:</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
@@ -3090,16 +2987,6 @@
|
|||||||
|
|
||||||
<label for="<%= TxtSkypeContactoProveedor.ClientID.ToString()%>">Skype:</label>
|
<label for="<%= TxtSkypeContactoProveedor.ClientID.ToString()%>">Skype:</label>
|
||||||
</div>
|
</div>
|
||||||
<%--<div class="row">
|
|
||||||
<div runat="server" id="DivDdlSucCont" class="col-md-12" visible="false">
|
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
|
||||||
<asp:DropDownList CssClass="form-control input-sm select2me" ID="DdlSucursalesProveedorContacto" runat="server" Width="30%" DataTextField="ProveedorSucursal" DataValueField="CveProveedorSucursal">
|
|
||||||
<asp:ListItem Selected="True" Value="-1" Text="Seleccione" />
|
|
||||||
</asp:DropDownList>
|
|
||||||
<label for="<%= DdlSucursalesProveedorContacto.ClientID.ToString()%>">Sucursal:</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>--%>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
@@ -3287,9 +3174,7 @@
|
|||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtLimiteCredito" runat="server" CssClass="form-control" MaxLength="15" Text="0" onkeyup="FormatoMoneda(this)"></asp:TextBox>
|
<asp:TextBox ID="TxtLimiteCredito" runat="server" CssClass="form-control" MaxLength="15" Text="0" onkeyup="FormatoMoneda(this)"></asp:TextBox>
|
||||||
<asp:RequiredFieldValidator ID="RFVLimiteCredito" runat="server" ControlToValidate="TxtLimiteCredito" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Límite de Crédito''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RFVLimiteCredito" runat="server" ControlToValidate="TxtLimiteCredito" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Límite de Crédito''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
<%-- <asp:CompareValidator ID="CVLimiteCredito" runat="server" ControlToValidate="TxtLimiteCredito" Display="None" ErrorMessage="El campo <b>''Límite de Crédito''</b> no tiene el formato correcto, por favor corrija e intente de nuevo (Solo formato numérico)." Operator="DataTypeCheck" Type="Integer" ValidationGroup="GrpGuardar"></asp:CompareValidator>--%>
|
|
||||||
<ajax:ValidatorCalloutExtender ID="VCOLimiteCredito1" runat="server" HighlightCssClass="vco" TargetControlID="RFVLimiteCredito" Width="300px"></ajax:ValidatorCalloutExtender>
|
<ajax:ValidatorCalloutExtender ID="VCOLimiteCredito1" runat="server" HighlightCssClass="vco" TargetControlID="RFVLimiteCredito" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||||
<%-- <ajax:ValidatorCalloutExtender ID="VCOLimiteCredito2" runat="server" HighlightCssClass="vco" TargetControlID="CVLimiteCredito" Width="300px"></ajax:ValidatorCalloutExtender>--%>
|
|
||||||
<label for="<%= TxtLimiteCredito.ClientID.ToString()%>">Límite de crédito:</label>
|
<label for="<%= TxtLimiteCredito.ClientID.ToString()%>">Límite de crédito:</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
@@ -3846,7 +3731,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<div id="ModalUploadDoc" class="modal ADS fade" role="dialog">
|
<div id="ModalUploadDoc" class="modal ADS fade" role="dialog">
|
||||||
|
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
|
|
||||||
<asp:UpdatePanel runat="server" class="modal-content" ID="UpModalReferenciasVerificacion" UpdateMode="Conditional">
|
<asp:UpdatePanel runat="server" class="modal-content" ID="UpModalReferenciasVerificacion" UpdateMode="Conditional">
|
||||||
@@ -3929,8 +3813,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<asp:UpdatePanel ID="UpBtnsTab" runat="server" UpdateMode="Conditional">
|
||||||
|
<ContentTemplate>
|
||||||
|
<asp:Button ID="BtnCargaHistorial" runat="server" ClientIDMode="Static" Text="CargarHistorial" Style="display: none;" OnClick="BtnCargaHistorial_Click"/>
|
||||||
|
<asp:Button ID="BtnCargaCxP" runat="server" ClientIDMode="Static" Text="CargarCxP" Style="display: none;" OnClick="BtnCargaCxP_Click" />
|
||||||
|
<asp:Button ID="BtnCargaAnticipos" runat="server" ClientIDMode="Static" Text="CargarAnticipos" Style="display: none;" OnClick="BtnCargaAnticipos_Click" />
|
||||||
|
<asp:Button ID="BtnCargaBancos" runat="server" ClientIDMode="Static" Text="CargarBancos" Style="display: none;" OnClick="BtnCargaBancos_Click" />
|
||||||
|
<asp:Button ID="BtnCargaOC" runat="server" ClientIDMode="Static" Text="CargarOC" Style="display: none;" OnClick="BtnCargaOC_Click" />
|
||||||
|
<asp:Button ID="BtnCargaDocs" runat="server" ClientIDMode="Static" Text="CargarDocs" Style="display: none;" OnClick="BtnCargaDocs_Click" />
|
||||||
|
<asp:Button ID="BtnCargaPortal" runat="server" ClientIDMode="Static" Text="CargarPortal" Style="display: none;" OnClick="BtnCargaPortal_Click" />
|
||||||
|
|
||||||
|
</ContentTemplate>
|
||||||
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<iframe id="my_iframe" style="display: none;"></iframe>
|
<iframe id="my_iframe" style="display: none;"></iframe>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
@@ -3940,13 +3836,14 @@
|
|||||||
<script src="https://www.amcharts.com/lib/3/amcharts.js"></script>
|
<script src="https://www.amcharts.com/lib/3/amcharts.js"></script>
|
||||||
<script src="https://www.amcharts.com/lib/3/serial.js"></script>
|
<script src="https://www.amcharts.com/lib/3/serial.js"></script>
|
||||||
<script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script>
|
<script src="https://www.amcharts.com/lib/3/plugins/export/export.min.js"></script>
|
||||||
<link rel="stylesheet" href="https://www.amcharts.com/lib/3/plugins/export/export.css" type="text/css" media="all" />
|
|
||||||
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script>
|
<script src="https://www.amcharts.com/lib/3/themes/light.js"></script>
|
||||||
|
<script src="/Metronic/assets/global/scripts/datatable.js"></script>
|
||||||
|
<script src="/Metronic/assets/global/plugins/datatables/all.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function Download(urlD) {
|
function Download(urlD) {
|
||||||
$('#my_iframe').attr('src', urlD);
|
$('#my_iframe').attr('src', urlD);
|
||||||
//document.getElementById('my_iframe').src = urlD;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
function CargaGraficaCompratamientoSaldoMensual(data, graph) {
|
function CargaGraficaCompratamientoSaldoMensual(data, graph) {
|
||||||
var chart = AmCharts.makeChart("chartdiv4", {
|
var chart = AmCharts.makeChart("chartdiv4", {
|
||||||
"type": "serial",
|
"type": "serial",
|
||||||
@@ -4009,59 +3906,20 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function CargaGraficaVencido(data) {
|
function CargaGraficaVencido(data) {
|
||||||
var chart = AmCharts.makeChart("chartdiv", {
|
var chart = AmCharts.makeChart("chartdiv", {
|
||||||
"type": "serial",
|
"type": "serial",
|
||||||
"theme": "light",
|
"theme": "light",
|
||||||
//"marginTop": 0,
|
|
||||||
//"marginRight": 80,
|
|
||||||
"dataProvider": data,
|
"dataProvider": data,
|
||||||
"graphs": [{
|
"graphs": [{
|
||||||
"id": "g1",
|
"id": "g1",
|
||||||
//"balloonText": "[[category]]<br><b><span style='font-size:14px;'>[[value]]</span></b>",
|
|
||||||
//"bullet": "round",
|
|
||||||
//"bulletSize": 8,
|
|
||||||
"lineColor": "#d1655d",
|
"lineColor": "#d1655d",
|
||||||
"lineThickness": 2,
|
"lineThickness": 2,
|
||||||
"negativeLineColor": "#009846",
|
"negativeLineColor": "#009846",
|
||||||
"type": "smoothedLine",
|
"type": "smoothedLine",
|
||||||
"valueField": "value",
|
"valueField": "value",
|
||||||
}],
|
}],
|
||||||
//"chartScrollbar": {
|
|
||||||
// "graph": "g1",
|
|
||||||
// "gridAlpha": 0,
|
|
||||||
// "color": "#888888",
|
|
||||||
// "scrollbarHeight": 55,
|
|
||||||
// "backgroundAlpha": 0,
|
|
||||||
// "selectedBackgroundAlpha": 0.1,
|
|
||||||
// "selectedBackgroundColor": "#888888",
|
|
||||||
// "graphFillAlpha": 0,
|
|
||||||
// "autoGridCount": true,
|
|
||||||
// "selectedGraphFillAlpha": 0,
|
|
||||||
// "graphLineAlpha": 0.2,
|
|
||||||
// "graphLineColor": "#c2c2c2",
|
|
||||||
// "selectedGraphLineColor": "#888888",
|
|
||||||
// "selectedGraphLineAlpha": 1
|
|
||||||
|
|
||||||
//},
|
|
||||||
//"chartCursor": {
|
|
||||||
// "categoryBalloonDateFormat": "YYYY",
|
|
||||||
// "cursorAlpha": 0,
|
|
||||||
// "valueLineEnabled": true,
|
|
||||||
// "valueLineBalloonEnabled": true,
|
|
||||||
// "valueLineAlpha": 0.5,
|
|
||||||
// "fullWidth": true
|
|
||||||
//},
|
|
||||||
//"dataDateFormat": "DD/MM/YYYY",
|
|
||||||
"categoryField": "date",
|
"categoryField": "date",
|
||||||
//"categoryAxis": {
|
|
||||||
// "minPeriod": "MM/YYYY",
|
|
||||||
// "parseDates": true,
|
|
||||||
// "minorGridAlpha": 0.1,
|
|
||||||
// "minorGridEnabled": true
|
|
||||||
//},
|
|
||||||
"export": {
|
"export": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
}
|
}
|
||||||
@@ -4130,38 +3988,93 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fnCxP() {
|
function fnCxP() {
|
||||||
|
|
||||||
$("#BtnRecargaCxP").click();
|
$("#BtnRecargaCxP").click();
|
||||||
}
|
}
|
||||||
<%-- function OrdenarGV() {
|
|
||||||
var Tam = TamañoVentana();
|
function pageLoad(sender, e) {
|
||||||
var Alto = Tam.height - 420;
|
cargaTabs();
|
||||||
if (Alto < 100) {
|
|
||||||
Alto = 100;
|
|
||||||
}
|
}
|
||||||
$('#<%=GvOC.ClientID%>').DataTable({ scrollY: Alto + 'px', scrollCollapse: true, paging: false, searching: false, info: false });
|
|
||||||
}--%>
|
|
||||||
function pageLoad() {
|
|
||||||
var isAsyncPostback = Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack();
|
|
||||||
if (isAsyncPostback) {
|
|
||||||
tb_init('a.thickbox');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
//var Alto = 300
|
|
||||||
|
|
||||||
//$('#gv-container').css({ 'max-height': Alto + 'px' });
|
|
||||||
|
|
||||||
|
|
||||||
|
function cargaTabs() {
|
||||||
|
if (<%= Me.ProveedorID %> > 0) {
|
||||||
|
// Historial
|
||||||
|
var $tabHist = $('#C_Tab_TabHistorial_tab');
|
||||||
|
if ($tabHist.length > 0) {
|
||||||
|
var eventosHist = $._data($tabHist[0], 'events');
|
||||||
|
if (eventosHist == undefined) {
|
||||||
|
$tabHist.on("click", function () {
|
||||||
|
$('#BtnCargaHistorial').click();
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// CxP
|
||||||
|
var $tabCxP = $('#C_Tab_TabCxP_tab');
|
||||||
|
if ($tabCxP.length > 0) {
|
||||||
|
var eventosCxP = $._data($tabCxP[0], 'events');
|
||||||
|
if (eventosCxP == undefined) {
|
||||||
|
$tabCxP.on("click", function () {
|
||||||
|
$('#BtnCargaCxP').click();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Anticipos
|
||||||
|
var $tabAnticipos = $('#C_Tab_TabAnticipos_tab');
|
||||||
|
if ($tabAnticipos.length > 0) {
|
||||||
|
var eventosAnticipos = $._data($tabAnticipos[0], 'events');
|
||||||
|
if (eventosAnticipos == undefined) {
|
||||||
|
$tabAnticipos.on("click", function () {
|
||||||
|
$('#BtnCargaAnticipos').click();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
// Bancos
|
||||||
|
var $tabBancos = $('#C_Tab_TabBancos_tab');
|
||||||
|
if ($tabBancos.length > 0) {
|
||||||
|
var eventosBancos = $._data($tabBancos[0], 'events');
|
||||||
|
if (eventosBancos == undefined) {
|
||||||
|
$tabBancos.on("click", function () {
|
||||||
|
$('#BtnCargaBancos').click();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// OC
|
||||||
|
var $tabOC = $('#C_Tab_TabOC_tab');
|
||||||
|
if ($tabOC.length > 0) {
|
||||||
|
var eventosOC = $._data($tabOC[0], 'events');
|
||||||
|
if (eventosOC == undefined) {
|
||||||
|
$tabOC.on("click", function () {
|
||||||
|
$('#BtnCargaOC').click();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
<script type="text/javascript">
|
// Docs
|
||||||
|
var $tabDocs = $('#C_Tab_TabDocs_tab');
|
||||||
|
if ($tabDocs.length > 0) {
|
||||||
|
var eventosDocs = $._data($tabDocs[0], 'events');
|
||||||
|
if (eventosDocs == undefined) {
|
||||||
|
$tabDocs.on("click", function () {
|
||||||
|
$('#BtnCargaDocs').click();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Usuarios
|
||||||
|
var $tabUsuarios = $('#C_Tab_TabUsuarios_tab');
|
||||||
|
if ($tabUsuarios.length > 0) {
|
||||||
|
var eventosUsuarios = $._data($tabUsuarios[0], 'events');
|
||||||
|
if (eventosUsuarios == undefined) {
|
||||||
|
$tabUsuarios.on("click", function () {
|
||||||
|
$('#BtnCargaPortal').click();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function showDivEC() {
|
function showDivEC() {
|
||||||
$('#<%= TxtProveedorSucursal2.ClientID %>').val('');
|
$('#<%= TxtProveedorSucursal2.ClientID %>').val('');
|
||||||
@@ -4205,129 +4118,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getSelectedText(Obj, IfIsNull) {
|
function getSelectedText(Obj, IfIsNull) {
|
||||||
if (Obj.selectedIndex == -1)
|
if (Obj.selectedIndex == -1){
|
||||||
return IfIsNull;
|
return IfIsNull;
|
||||||
else
|
}
|
||||||
|
else {
|
||||||
return Obj.options[Obj.selectedIndex].text;
|
return Obj.options[Obj.selectedIndex].text;
|
||||||
}
|
}
|
||||||
|
|
||||||
//function fncTxt(t) {
|
}
|
||||||
|
|
||||||
// $get('TxtNombreComercial').value = t.value;
|
|
||||||
//}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
var TxtSucursal = '<%= TxtProveedorSucursal2.ClientID%>';
|
|
||||||
var TxtSerie = '<%= TxtSucursalSerie.ClientID%>';
|
|
||||||
var TxtCorreoSucursal = '<%= TxtCorreoSucursal.ClientID%>';
|
|
||||||
var TxtContactoSucursal = '<%= TxtContactoSucursal.ClientID%>';
|
|
||||||
var TextSucursalDireccion = '<%= TextSucursalDireccion.ClientID%>';
|
|
||||||
var TextSucursalTelefono = '<%= TextSucursalTelefono.ClientID%>';
|
|
||||||
var LblUsuarioSucursal = '<%= LblUsuarioSucursal.ClientID%>';
|
|
||||||
var LblFechaSucursal = '<%= LblFechaSucursal.ClientID%>';
|
|
||||||
|
|
||||||
function ShowItems() {
|
|
||||||
if (UPPopUp != null) {
|
|
||||||
__doPostBack(UPPopUp, '');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function SetObjects(Sucursal, Serie, Correo, Contacto, Direccion, Telefono, Fecha, Usuario) {
|
|
||||||
debugger;
|
|
||||||
document.getElementById(TxtSucursal).value = Sucursal;
|
|
||||||
document.getElementById(TxtSerie).value = Serie;
|
|
||||||
document.getElementById(TxtCorreoSucursal).value = Correo;
|
|
||||||
document.getElementById(TxtContactoSucursal).value = Contacto;
|
|
||||||
document.getElementById(TextSucursalDireccion).value = Direccion;
|
|
||||||
document.getElementById(TextSucursalTelefono).value = Telefono;
|
|
||||||
document.getElementById(LblFechaSucursal).value = Fecha;
|
|
||||||
document.getElementById(LblUsuarioSucursal).value = Usuario;
|
|
||||||
$('#' + LblUsuarioSucursal).text(Usuario);
|
|
||||||
$('#' + LblFechaSucursal).text(Fecha);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function CleanObjects() {
|
|
||||||
document.getElementById(TxtSucursal).value = "";
|
|
||||||
document.getElementById(TxtSerie).value = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
function ShowDivRegistro() {
|
|
||||||
$('#divAgregarSucursal').modal();
|
|
||||||
}
|
|
||||||
function HideDivRegistro() {
|
|
||||||
$('#divAgregarSucursal').modal('hide');
|
|
||||||
}
|
|
||||||
|
|
||||||
function SetValue(Hidden, Value) {
|
|
||||||
document.getElementById(Hidden).value = Value;
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="/Metronic/assets/global/scripts/datatable.js"></script>
|
|
||||||
<script src="/Metronic/assets/global/plugins/datatables/all.min.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
function pageLoad(sender, e) {
|
|
||||||
if (<%= Me.ProveedorID %> > 0) {
|
|
||||||
$("#__tab_C_Tab_TabHistorial").on("click", function () {
|
|
||||||
$('#BtnCargaHistorial').click();
|
|
||||||
});
|
|
||||||
$("#__tab_C_Tab_TabCxP").on("click", function () {
|
|
||||||
$('#BtnCargaCxP').click();
|
|
||||||
});
|
|
||||||
$("#__tab_C_Tab_TabAnticipos").on("click", function () {
|
|
||||||
$('#BtnCargaAnticipos').click();
|
|
||||||
});
|
|
||||||
$("#__tab_C_Tab_TabBancos").on("click", function () {
|
|
||||||
$('#BtnCargaBancos').click();
|
|
||||||
});
|
|
||||||
$("#__tab_C_Tab_TabOC").on("click", function () {
|
|
||||||
$('#BtnCargaOC').click();
|
|
||||||
});
|
|
||||||
$("#__tab_C_Tab_TabUsuarios").on("click", function () {
|
|
||||||
$('#BtnCargaPortal').click();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
pageLoad();
|
|
||||||
});
|
|
||||||
|
|
||||||
//var OrdenarGV = function () {
|
|
||||||
// var Tam = TamañoVentana();
|
|
||||||
// var Alto = Tam.height - 330;
|
|
||||||
// if (Alto < 100) {
|
|
||||||
// Alto = 100;
|
|
||||||
// }
|
|
||||||
// $('#C_Tab_TabAlta_GVSucursales').DataTable({ scrollY: Alto + 'px', scrollCollapse: true, paging: false, searching: false, info: false, });
|
|
||||||
// $('#C_Tab_TabAlta_GVSucursales').parent().parent().children().first().css("position", "static");
|
|
||||||
//}
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
$('#<%= TxtRazonSocial.ClientID %>').keyup(function () {
|
|
||||||
|
|
||||||
var sTemp = $('#<%= TxtRazonSocial.ClientID %>').val();
|
|
||||||
|
|
||||||
$('#<%= TxtNombreComercial.ClientID %>').val(sTemp);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Partial Class Compras_Proveedores
|
|||||||
#Region "P R O P I E D A D E S"
|
#Region "P R O P I E D A D E S"
|
||||||
Private ReadOnly Property CveProveedor As Integer
|
Private ReadOnly Property CveProveedor As Integer
|
||||||
Get
|
Get
|
||||||
Return ViewState("CveProveedor").ToString.ToEntero
|
Return IfNull(ViewState("CveProveedor"), -1).ToString.ToEntero()
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
Public ReadOnly Property ProveedorID As Integer
|
Public ReadOnly Property ProveedorID As Integer
|
||||||
@@ -606,8 +606,6 @@ Partial Class Compras_Proveedores
|
|||||||
|
|
||||||
If UsuarioActual.TienePermisoProceso(88) Then BtnGuardar.Visible = True 'agregar/Nuevo proveedor
|
If UsuarioActual.TienePermisoProceso(88) Then BtnGuardar.Visible = True 'agregar/Nuevo proveedor
|
||||||
|
|
||||||
ScriptManager.RegisterStartupScript(Me, Me.GetType, "Ll", "pageLoad();", True)
|
|
||||||
|
|
||||||
If UsuarioActual.Empresa.CvePlataforma = 2 Then
|
If UsuarioActual.Empresa.CvePlataforma = 2 Then
|
||||||
DivFiscal.Visible = False
|
DivFiscal.Visible = False
|
||||||
'divportalusuarios.Visible = False
|
'divportalusuarios.Visible = False
|
||||||
@@ -5932,51 +5930,121 @@ Partial Class Compras_Proveedores
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub BtnCargaHistorial_Click(sender As Object, e As EventArgs) Handles BtnCargaHistorial.Click
|
Protected Sub BtnCargaHistorial_Click(sender As Object, e As EventArgs) Handles BtnCargaHistorial.Click
|
||||||
|
|
||||||
|
If ViewState("YaEjecutadoHistorial") IsNot Nothing AndAlso CBool(ViewState("YaEjecutadoHistorial")) Then
|
||||||
|
' Ya se ejecutó, evita doble acción
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Marca que ya se ejecutó
|
||||||
|
ViewState("YaEjecutadoHistorial") = True
|
||||||
|
|
||||||
If CveProveedor > 0 Then
|
If CveProveedor > 0 Then
|
||||||
CargaHistorial(CveProveedorSucursal) ' <-- Tu método de carga
|
CargaHistorial(CveProveedorSucursal)
|
||||||
UpnHistorial.Update() ' <-- UpdatePanel de Historial
|
UpnResumenHistorial.Update()
|
||||||
|
UpnHistorial.Update()
|
||||||
|
UpBtnsTab.Update()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub BtnCargaCxP_Click(sender As Object, e As EventArgs) Handles BtnCargaCxP.Click
|
Protected Sub BtnCargaCxP_Click(sender As Object, e As EventArgs) Handles BtnCargaCxP.Click
|
||||||
|
|
||||||
|
If ViewState("YaEjecutadoCxP") IsNot Nothing AndAlso CBool(ViewState("YaEjecutadoCxP")) Then
|
||||||
|
' Ya se ejecutó, evita doble acción
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Marca que ya se ejecutó
|
||||||
|
ViewState("YaEjecutadoCxP") = True
|
||||||
|
|
||||||
If CveProveedor > 0 Then
|
If CveProveedor > 0 Then
|
||||||
CargaCxP(CveProveedorSucursal) ' <-- Tu método de carga
|
CargaCxP(CveProveedorSucursal) ' <-- Tu método de carga
|
||||||
UPPCxP.Update() ' <-- UpdatePanel de CxP
|
UPPCxP.Update() ' <-- UpdatePanel de CxP
|
||||||
|
UpBtnsTab.Update()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub BtnCargaAnticipos_Click(sender As Object, e As EventArgs) Handles BtnCargaAnticipos.Click
|
Protected Sub BtnCargaAnticipos_Click(sender As Object, e As EventArgs) Handles BtnCargaAnticipos.Click
|
||||||
|
|
||||||
|
If ViewState("YaEjecutadoAnticipos") IsNot Nothing AndAlso CBool(ViewState("YaEjecutadoAnticipos")) Then
|
||||||
|
' Ya se ejecutó, evita doble acción
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Marca que ya se ejecutó
|
||||||
|
ViewState("YaEjecutadoAnticipos") = True
|
||||||
If CveProveedor > 0 Then
|
If CveProveedor > 0 Then
|
||||||
CargaAnticipos(CveProveedorSucursal) ' <-- Tu método de carga
|
CargaAnticipos(CveProveedorSucursal) ' <-- Tu método de carga
|
||||||
UpAnticipos.Update() ' <-- UpdatePanel de Anticipos
|
UpAnticipos.Update() ' <-- UpdatePanel de Anticipos
|
||||||
|
UpBtnsTab.Update()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub BtnCargaBancos_Click(sender As Object, e As EventArgs) Handles BtnCargaBancos.Click
|
Protected Sub BtnCargaBancos_Click(sender As Object, e As EventArgs) Handles BtnCargaBancos.Click
|
||||||
|
|
||||||
|
If ViewState("YaEjecutadoBancos") IsNot Nothing AndAlso CBool(ViewState("YaEjecutadoBancos")) Then
|
||||||
|
' Ya se ejecutó, evita doble acción
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Marca que ya se ejecutó
|
||||||
|
ViewState("YaEjecutadoBancos") = True
|
||||||
|
|
||||||
If CveProveedor > 0 Then
|
If CveProveedor > 0 Then
|
||||||
CargaBancos(CveProveedorSucursal) ' <-- Tu método de carga
|
CargaBancos(CveProveedorSucursal) ' <-- Tu método de carga
|
||||||
UpBancos.Update() ' <-- UpdatePanel de Bancos
|
UpBancos.Update() ' <-- UpdatePanel de Bancos
|
||||||
|
UpBtnsTab.Update()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub BtnCargaOC_Click(sender As Object, e As EventArgs) Handles BtnCargaOC.Click
|
Protected Sub BtnCargaOC_Click(sender As Object, e As EventArgs) Handles BtnCargaOC.Click
|
||||||
|
|
||||||
|
If ViewState("YaEjecutadoOC") IsNot Nothing AndAlso CBool(ViewState("YaEjecutadoOC")) Then
|
||||||
|
' Ya se ejecutó, evita doble acción
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Marca que ya se ejecutó
|
||||||
|
ViewState("YaEjecutadoOC") = True
|
||||||
|
|
||||||
If CveProveedor > 0 Then
|
If CveProveedor > 0 Then
|
||||||
CargaOC() ' <-- Tu método de carga
|
CargaOC() ' <-- Tu método de carga
|
||||||
UpOC.Update() ' <-- UpdatePanel de OC
|
UpOC.Update() ' <-- UpdatePanel de OC
|
||||||
|
UpBtnsTab.Update()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub BtnCargaDocs_Click(sender As Object, e As EventArgs) Handles BtnCargaDocs.Click
|
Protected Sub BtnCargaDocs_Click(sender As Object, e As EventArgs) Handles BtnCargaDocs.Click
|
||||||
|
|
||||||
|
If ViewState("YaEjecutadoDocs") IsNot Nothing AndAlso CBool(ViewState("YaEjecutadoDocs")) Then
|
||||||
|
' Ya se ejecutó, evita doble acción
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Marca que ya se ejecutó
|
||||||
|
ViewState("YaEjecutadoDocs") = True
|
||||||
|
|
||||||
If CveProveedor > 0 Then
|
If CveProveedor > 0 Then
|
||||||
CargaDocs() ' <-- Tu método de carga
|
CargaDocs() ' <-- Tu método de carga
|
||||||
UpDocumentos.Update() ' <-- UpdatePanel de Documentos
|
UpDocumentos.Update() ' <-- UpdatePanel de Documentos
|
||||||
|
UpBtnsTab.Update()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub BtnCargaPortal_Click(sender As Object, e As EventArgs) Handles BtnCargaPortal.Click
|
Protected Sub BtnCargaPortal_Click(sender As Object, e As EventArgs) Handles BtnCargaPortal.Click
|
||||||
|
|
||||||
|
If ViewState("YaEjecutadoPortal") IsNot Nothing AndAlso CBool(ViewState("YaEjecutadoPortal")) Then
|
||||||
|
' Ya se ejecutó, evita doble acción
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Marca que ya se ejecutó
|
||||||
|
ViewState("YaEjecutadoPortal") = True
|
||||||
|
|
||||||
If CveProveedor > 0 Then
|
If CveProveedor > 0 Then
|
||||||
CargaUsuariosPortalProveedor() ' <-- Tu método de carga
|
CargaUsuariosPortalProveedor() ' <-- Tu método de carga
|
||||||
UpGvUsuarios.Update() ' <-- UpdatePanel de Portal/Usuarios
|
UpGvUsuarios.Update() ' <-- UpdatePanel de Portal/Usuarios
|
||||||
|
UpBtnsTab.Update()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="portlet-body" style="display: flex; align-items: center; gap: 10px; width: 100%;">
|
<div class="portlet-body" style="display: flex; align-items: center; gap: 10px; width: 100%;">
|
||||||
<div class="form-group form-md-line-input input-iconright" style="width: 150px;">
|
<div class="form-group form-md-line-input input-iconright" style="width: 150px;">
|
||||||
<asp:TextBox ID="TxtTipoCambio" CssClass="form-control" runat="server" MaxLength="50"></asp:TextBox>
|
<asp:TextBox ID="TxtTipoCambio" CssClass="form-control" runat="server" MaxLength="10"></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTETipoCambio" runat="server" TargetControlID="TxtTipoCambio" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTETipoCambio" runat="server" TargetControlID="TxtTipoCambio" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtTipoCambio.ClientID.ToString()%>">Tipo de Cambio:</label>
|
<label for="<%= TxtTipoCambio.ClientID.ToString()%>">Tipo de Cambio:</label>
|
||||||
<asp:RequiredFieldValidator
|
<asp:RequiredFieldValidator
|
||||||
@@ -390,21 +390,21 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-4" Text="Placa:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-4" Text="Placa:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
||||||
<asp:TextBox ID="TxtPlaca" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtPlaca" runat="server" CssClass="form-control input-sm" MaxLength="10" Width="100%" Text=""></asp:TextBox>
|
||||||
<label for="<%= TxtPlaca.ClientID.ToString()%>"></label>
|
<label for="<%= TxtPlaca.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-4" Text="SCAC:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-4" Text="SCAC:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
||||||
<asp:TextBox ID="TxtSCAC" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtSCAC" runat="server" CssClass="form-control input-sm" MaxLength="50" Width="100%" Text=""></asp:TextBox>
|
||||||
<label for="<%= TxtSCAC.ClientID.ToString()%>"></label>
|
<label for="<%= TxtSCAC.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-4" Text="CAAT:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-4" Text="CAAT:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
||||||
<asp:TextBox ID="TxtCAAT" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtCAAT" runat="server" CssClass="form-control input-sm" MaxLength="50" Width="100%" Text=""></asp:TextBox>
|
||||||
<label for="<%= TxtCAAT.ClientID.ToString()%>"></label>
|
<label for="<%= TxtCAAT.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -444,21 +444,21 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-3" Text="Sello 1:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-3" Text="Sello 1:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
||||||
<asp:TextBox ID="TxtSello1" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtSello1" runat="server" CssClass="form-control input-sm" MaxLength="10" Width="100%" Text=""></asp:TextBox>
|
||||||
<label for="<%= TxtSello1.ClientID.ToString()%>"></label>
|
<label for="<%= TxtSello1.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-3" Text="Sello 2:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-3" Text="Sello 2:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
||||||
<asp:TextBox ID="TxtSello2" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtSello2" runat="server" CssClass="form-control input-sm" MaxLength="10" Width="100%" Text=""></asp:TextBox>
|
||||||
<label for="<%= TxtSello2.ClientID.ToString()%>"></label>
|
<label for="<%= TxtSello2.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-3" Text="Sello 3:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-3" Text="Sello 3:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
<div class="form-group form-md-line-input linewhitsize" style="width: 300px;">
|
||||||
<asp:TextBox ID="TxtSello3" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtSello3" runat="server" CssClass="form-control input-sm" MaxLength="10" Width="100%" Text=""></asp:TextBox>
|
||||||
<label for="<%= TxtSello3.ClientID.ToString()%>"></label>
|
<label for="<%= TxtSello3.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -506,7 +506,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Transp.:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Transp.:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtIncFletes" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtIncFletes" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEIncFletes" runat="server" TargetControlID="TxtIncFletes" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEIncFletes" runat="server" TargetControlID="TxtIncFletes" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtIncFletes.ClientID.ToString()%>"></label>
|
<label for="<%= TxtIncFletes.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -514,7 +514,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Seguros:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Seguros:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtIncSeguro" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtIncSeguro" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEIncSeguro" runat="server" TargetControlID="TxtIncSeguro" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEIncSeguro" runat="server" TargetControlID="TxtIncSeguro" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtIncSeguro.ClientID.ToString()%>"></label>
|
<label for="<%= TxtIncSeguro.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -522,7 +522,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Embalaje:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Embalaje:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtIncEmbalajes" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtIncEmbalajes" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEIncEmbalajes" runat="server" TargetControlID="TxtIncEmbalajes" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEIncEmbalajes" runat="server" TargetControlID="TxtIncEmbalajes" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtIncEmbalajes.ClientID.ToString()%>"></label>
|
<label for="<%= TxtIncEmbalajes.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -530,7 +530,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Costo Envases:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Costo Envases:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtIncEmbalaje" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtIncEmbalaje" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEIncEmbalaje" runat="server" TargetControlID="TxtIncEmbalaje" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEIncEmbalaje" runat="server" TargetControlID="TxtIncEmbalaje" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtIncEmbalaje.ClientID.ToString()%>"></label>
|
<label for="<%= TxtIncEmbalaje.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -538,7 +538,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Conexos:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Conexos:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtIncConexos" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtIncConexos" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEIncConexos" runat="server" TargetControlID="TxtIncConexos" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEIncConexos" runat="server" TargetControlID="TxtIncConexos" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtIncConexos.ClientID.ToString()%>"></label>
|
<label for="<%= TxtIncConexos.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -574,7 +574,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Transp.:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Transp.:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtDecFlete" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtDecFlete" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEDecFlete" runat="server" TargetControlID="TxtDecFlete" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEDecFlete" runat="server" TargetControlID="TxtDecFlete" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtDecFlete.ClientID.ToString()%>"></label>
|
<label for="<%= TxtDecFlete.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -582,7 +582,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Seguros:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Seguros:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtDecSeguro" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtDecSeguro" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEDecSeguro" runat="server" TargetControlID="TxtDecSeguro" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEDecSeguro" runat="server" TargetControlID="TxtDecSeguro" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtDecSeguro.ClientID.ToString()%>"></label>
|
<label for="<%= TxtDecSeguro.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -590,7 +590,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Carga:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Carga:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtDecCarga" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtDecCarga" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEDecCarga" runat="server" TargetControlID="TxtDecCarga" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEDecCarga" runat="server" TargetControlID="TxtDecCarga" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtDecCarga.ClientID.ToString()%>"></label>
|
<label for="<%= TxtDecCarga.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -598,7 +598,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Descarga:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Gastos Descarga:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtDecDescarga" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtDecDescarga" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEDecDescarga" runat="server" TargetControlID="TxtDecDescarga" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEDecDescarga" runat="server" TargetControlID="TxtDecDescarga" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtDecDescarga.ClientID.ToString()%>"></label>
|
<label for="<%= TxtDecDescarga.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
@@ -606,7 +606,7 @@
|
|||||||
<div class="form-group row" style="width: 100%;">
|
<div class="form-group row" style="width: 100%;">
|
||||||
<asp:Label runat="server" CssClass="col-sm-6" Text="Otros Gastos:"></asp:Label>
|
<asp:Label runat="server" CssClass="col-sm-6" Text="Otros Gastos:"></asp:Label>
|
||||||
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
<div class="form-group form-md-line-input linewhitsize col-md-5">
|
||||||
<asp:TextBox ID="TxtDecOtros" runat="server" CssClass="form-control input-sm" MaxLength="300" Width="100%" Text=""></asp:TextBox>
|
<asp:TextBox ID="TxtDecOtros" runat="server" CssClass="form-control input-sm" MaxLength="12" Width="100%" Text=""></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTEDecOtros" runat="server" TargetControlID="TxtDecOtros" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTEDecOtros" runat="server" TargetControlID="TxtDecOtros" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtDecOtros.ClientID.ToString()%>"></label>
|
<label for="<%= TxtDecOtros.ClientID.ToString()%>"></label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2373,6 +2373,15 @@ Partial Class Ventas
|
|||||||
ViewState("EsNCDevolucionEfectivo") = value
|
ViewState("EsNCDevolucionEfectivo") = value
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
Private Property UsaProductoAlterno As Boolean
|
||||||
|
Get
|
||||||
|
Return CBool(IfNull(ViewState("UsaProductoAlterno"), False, ViewState("UsaProductoAlterno")))
|
||||||
|
End Get
|
||||||
|
Set(value As Boolean)
|
||||||
|
ViewState("UsaProductoAlterno") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region " A C U M U L A D O R E S"
|
#Region " A C U M U L A D O R E S"
|
||||||
@@ -7155,6 +7164,7 @@ Partial Class Ventas
|
|||||||
DdlMetodoPago33.Enabled = True
|
DdlMetodoPago33.Enabled = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
Me.UsaProductoAlterno = ObjCliente.UsaProductoAlterno
|
||||||
|
|
||||||
Me.CveMetodoPago33Cliente = ObjCliente.CveMetodoPago
|
Me.CveMetodoPago33Cliente = ObjCliente.CveMetodoPago
|
||||||
Me.CveFormaPago33Cliente = ObjCliente.CveFormaPago
|
Me.CveFormaPago33Cliente = ObjCliente.CveFormaPago
|
||||||
@@ -21279,6 +21289,21 @@ Partial Class Ventas
|
|||||||
|
|
||||||
DrPS = GlobalDTPS(UsuarioActual.CveEmpresa, CvePS:=CvePS).FiltroPrimero("") ' Estado = -1
|
DrPS = GlobalDTPS(UsuarioActual.CveEmpresa, CvePS:=CvePS).FiltroPrimero("") ' Estado = -1
|
||||||
|
|
||||||
|
|
||||||
|
Dim Codigo As String = ""
|
||||||
|
|
||||||
|
If UsaProductoAlterno Then
|
||||||
|
Codigo = DrPS("CodigoAlterno").ToString().Trim()
|
||||||
|
PS = DrPS("PSAlterno").ToString().Trim()
|
||||||
|
Else
|
||||||
|
Codigo = DrPS("Codigo").ToString().Trim()
|
||||||
|
PS = DrPS("PS").ToString().Trim()
|
||||||
|
End If
|
||||||
|
|
||||||
|
If UsaProductoAlterno AndAlso String.IsNullOrEmpty(Codigo) OrElse String.IsNullOrEmpty(PS) Then
|
||||||
|
Alert("El producto y/o servicio no tiene especificado el código alterno.", TipoMensaje.ToastAdventencia, timeout:=30)
|
||||||
|
End If
|
||||||
|
|
||||||
If DrPS Is Nothing Then
|
If DrPS Is Nothing Then
|
||||||
Alert("Ocurrió un error al cargar la información del Producto. Por favor vuelva a intentar.", TipoMensaje.MsgError)
|
Alert("Ocurrió un error al cargar la información del Producto. Por favor vuelva a intentar.", TipoMensaje.MsgError)
|
||||||
Return False
|
Return False
|
||||||
@@ -21373,9 +21398,9 @@ Partial Class Ventas
|
|||||||
TotalCalculableImpuestosIVA = TotalCalculableImpuestos * (1 + DrPS("IEPSPorcentaje").ToString().ToDecimal)
|
TotalCalculableImpuestosIVA = TotalCalculableImpuestos * (1 + DrPS("IEPSPorcentaje").ToString().ToDecimal)
|
||||||
|
|
||||||
Row("PU") = PU
|
Row("PU") = PU
|
||||||
Row("Codigo") = DrPS("Codigo")
|
Row("Codigo") = Codigo
|
||||||
Row("NumeroParte") = DrPS("NumeroParte")
|
Row("NumeroParte") = DrPS("NumeroParte")
|
||||||
Row("NoIdentificacion") = DrPS("Codigo")
|
Row("NoIdentificacion") = Codigo
|
||||||
Row("ClaveSATFraccionArancelaria") = DrPS("ClaveSATFraccionArancelaria")
|
Row("ClaveSATFraccionArancelaria") = DrPS("ClaveSATFraccionArancelaria")
|
||||||
Row("ClaveSATUnidadAduana") = DrPS("ClaveSATUnidadAduana")
|
Row("ClaveSATUnidadAduana") = DrPS("ClaveSATUnidadAduana")
|
||||||
Row("ClaveSATFraccionArancelariaDescripcion") = DrPS("ClaveSATFraccionArancelariaDescripcion")
|
Row("ClaveSATFraccionArancelariaDescripcion") = DrPS("ClaveSATFraccionArancelariaDescripcion")
|
||||||
@@ -21396,8 +21421,8 @@ Partial Class Ventas
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
Row("PS") = DrPS("PS")
|
Row("PS") = PS
|
||||||
Row("CodigoPS") = DrPS("PSCodigo").ToString()
|
Row("CodigoPS") = If(UsaProductoAlterno, String.Format("{0}-{1}", Codigo, PS), DrPS("PSCodigo")).ToString()
|
||||||
Row("CveTipoPS") = DrPS("CveTipoPS")
|
Row("CveTipoPS") = DrPS("CveTipoPS")
|
||||||
Row("CveTipoInvPS") = DrPS("Inv_CveMetodoInventario")
|
Row("CveTipoInvPS") = DrPS("Inv_CveMetodoInventario")
|
||||||
Row("AplicaSerie") = DrPS("AplicaSerie")
|
Row("AplicaSerie") = DrPS("AplicaSerie")
|
||||||
|
|||||||
Reference in New Issue
Block a user