Merge Proveedores
This commit is contained in:
@@ -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">
|
||||||
|
|
||||||
@@ -915,15 +915,6 @@
|
|||||||
|
|
||||||
<ajax:TabPanel ID="TabHistorial" runat="server" HeaderText="Historial de Compras">
|
<ajax:TabPanel ID="TabHistorial" runat="server" HeaderText="Historial de Compras">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|
||||||
<%-- <table border="0" runat="server" id="tHistorial" class="SubTotales3" width="100%">
|
|
||||||
<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">
|
||||||
@@ -1007,7 +998,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>
|
||||||
@@ -1048,12 +1038,6 @@
|
|||||||
<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" />
|
||||||
@@ -1209,110 +1193,110 @@
|
|||||||
<span class="caption-subject bold uppercase">CxP Activas</span>
|
<span class="caption-subject bold uppercase">CxP Activas</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
</div>
|
||||||
<div class="btn-group">
|
<div class="actions">
|
||||||
|
<div class="btn-group">
|
||||||
|
|
||||||
<asp:UpdatePanel UpdateMode="Conditional" runat="server" ID="UpdatePanel4">
|
<asp:UpdatePanel UpdateMode="Conditional" runat="server" ID="UpdatePanel4">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:HyperLink ID="HplAbonarMasivo" Visible="False" runat="server" CssClass="Texto" NavigateUrl="#" ToolTip="Pago de múltiples facturas">Pago múltiples facturas <img src="/Imagenes/Money_Add.png" alt="Pagar múltiples facturas" /></asp:HyperLink>
|
<asp:HyperLink ID="HplAbonarMasivo" Visible="False" runat="server" CssClass="Texto" NavigateUrl="#" ToolTip="Pago de múltiples facturas">Pago múltiples facturas <img src="/Imagenes/Money_Add.png" alt="Pagar múltiples facturas" /></asp:HyperLink>
|
||||||
<asp:LinkButton ID="LnkCxPActivasPDF" 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="LnkCxPActivasPDF" 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="LnkCxPActivasExcel" 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="LnkCxPActivasExcel" 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>
|
||||||
|
|
||||||
<input type="text" id="TxtBusqueda2" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvCxP.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
<input type="text" id="TxtBusqueda2" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvCxP.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvCxP.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('TxtBusqueda2','{0}')", GvCxP.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
<Triggers>
|
<Triggers>
|
||||||
<asp:PostBackTrigger ControlID="LnkCxPActivasPDF" />
|
<asp:PostBackTrigger ControlID="LnkCxPActivasPDF" />
|
||||||
<asp:PostBackTrigger ControlID="LnkCxPActivasExcel" />
|
<asp:PostBackTrigger ControlID="LnkCxPActivasExcel" />
|
||||||
</Triggers>
|
</Triggers>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="actions">
|
|
||||||
<div class="btn-group">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-body ">
|
|
||||||
<div class="row" style="margin-right: 10px;" align="right">
|
<div class="tools">
|
||||||
</div>
|
|
||||||
<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">
|
|
||||||
<Columns>
|
|
||||||
<asp:TemplateField>
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:LinkButton ID="LblB" runat="server" Style="color: aqua; font-weight: bold; font-size: x-large;" OnClick="LblB_Click"></asp:LinkButton>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="SerieFolio">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Label ID="LtlFactura" runat="server"></asp:Label>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="Fecha">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlFecha" runat="server" Text='<%# Eval("Fecha", "{0:d}") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="F. Vencimiento">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlFechaVenci" runat="server" Text='<%# Eval("FechaVencimiento", "{0:d}") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="Días Venc.">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlDiasVencido" runat="server" Text='<%# Eval("DiasVencidos", "{0}") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="Total" ItemStyle-HorizontalAlign="Right">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlSaldoOriginal" runat="server" Text='<%# Eval("Original", "{0:N2}") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="Abonado" ItemStyle-HorizontalAlign="Right">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlAbonado" runat="server" Text='<%# Eval("Abonado", "{0:N2}") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="% Abonado" ItemStyle-HorizontalAlign="Right">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlPorRecuperado" runat="server" Text='<%# Eval("PorPagado", "{0:N2}%") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="Saldo" ItemStyle-HorizontalAlign="Right">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlSaldo" runat="server" Text='<%# Eval("Saldo", "{0:N2}") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="% A Pagar">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlPorXRecuperar" runat="server" Text='<%# Eval("PorXPagar", "{0:N2}%") %>'></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="Auxiliar">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Literal ID="LtlAux" runat="server"></asp:Literal>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField Visible="False" HeaderText="Abonar">
|
|
||||||
<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>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
</Columns>
|
|
||||||
<RowStyle CssClass="Texto" />
|
|
||||||
<AlternatingRowStyle CssClass="TextoAlterno" />
|
|
||||||
<HeaderStyle CssClass="Titulos" />
|
|
||||||
</asp:GridView>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="actions">
|
||||||
|
<div class="btn-group">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="portlet-body ">
|
||||||
|
<div class="row" style="margin-right: 10px;" align="right">
|
||||||
|
</div>
|
||||||
|
<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">
|
||||||
|
<Columns>
|
||||||
|
<asp:TemplateField>
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:LinkButton ID="LblB" runat="server" Style="color: aqua; font-weight: bold; font-size: x-large;" OnClick="LblB_Click"></asp:LinkButton>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="SerieFolio">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="LtlFactura" runat="server"></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="Fecha">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlFecha" runat="server" Text='<%# Eval("Fecha", "{0:d}") %>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="F. Vencimiento">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlFechaVenci" runat="server" Text='<%# Eval("FechaVencimiento", "{0:d}") %>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="Días Venc.">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlDiasVencido" runat="server" Text='<%# Eval("DiasVencidos", "{0}") %>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="Total" ItemStyle-HorizontalAlign="Right">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlSaldoOriginal" runat="server" Text='<%# Eval("Original", "{0:N2}") %>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="Abonado" ItemStyle-HorizontalAlign="Right">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlAbonado" runat="server" Text='<%# Eval("Abonado", "{0:N2}") %>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="% Abonado" ItemStyle-HorizontalAlign="Right">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlPorRecuperado" runat="server" Text='<%# Eval("PorPagado", "{0:N2}%") %>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="Saldo" ItemStyle-HorizontalAlign="Right">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlSaldo" runat="server" Text='<%# Eval("Saldo", "{0:N2}") %>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="% A Pagar">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlPorXRecuperar" runat="server" Text='<%# Eval("PorXPagar", "{0:N2}%") %>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="Auxiliar">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlAux" runat="server"></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField Visible="False" HeaderText="Abonar">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:HyperLink ID="ImgAbonar" CssClass="Texto thickbox" runat="server" ImageUrl="~/Imagenes/Money_add.png" ToolTip="Registrar Pago/Abono"></asp:HyperLink>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
</Columns>
|
||||||
|
<RowStyle CssClass="Texto" />
|
||||||
|
<AlternatingRowStyle CssClass="TextoAlterno" />
|
||||||
|
<HeaderStyle CssClass="Titulos" />
|
||||||
|
</asp:GridView>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet light xspadding bordered ">
|
<div class="portlet light xspadding bordered ">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
@@ -1419,18 +1403,6 @@
|
|||||||
<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" />
|
<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">
|
||||||
<div class="caption font-green">
|
<div class="caption font-green">
|
||||||
@@ -1565,7 +1537,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>
|
||||||
|
|
||||||
@@ -2011,50 +1982,6 @@
|
|||||||
</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>
|
||||||
|
|
||||||
@@ -2747,15 +2674,10 @@
|
|||||||
|
|
||||||
<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">
|
|
||||||
<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="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>
|
||||||
@@ -2763,14 +2685,11 @@
|
|||||||
<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" />
|
||||||
@@ -2822,7 +2741,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">
|
||||||
|
|
||||||
@@ -2842,7 +2760,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>
|
||||||
@@ -2850,9 +2767,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>
|
||||||
@@ -2874,7 +2788,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">
|
||||||
@@ -2921,15 +2834,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>
|
||||||
@@ -2948,7 +2857,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">
|
||||||
@@ -3022,7 +2930,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">
|
||||||
@@ -3060,7 +2967,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">
|
||||||
@@ -3078,16 +2984,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>
|
||||||
@@ -3275,9 +3171,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">
|
||||||
@@ -3834,7 +3728,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">
|
||||||
@@ -3919,6 +3812,11 @@
|
|||||||
</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"/>
|
||||||
|
</ContentTemplate>
|
||||||
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<iframe id="my_iframe" style="display: none;"></iframe>
|
<iframe id="my_iframe" style="display: none;"></iframe>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
@@ -3928,13 +3826,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",
|
||||||
@@ -3997,59 +3896,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
|
||||||
}
|
}
|
||||||
@@ -4118,204 +3978,99 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fnCxP() {
|
function fnCxP() {
|
||||||
|
|
||||||
$("#BtnRecargaCxP").click();
|
$("#BtnRecargaCxP").click();
|
||||||
}
|
}
|
||||||
<%-- function OrdenarGV() {
|
|
||||||
var Tam = TamañoVentana();
|
|
||||||
var Alto = Tam.height - 420;
|
|
||||||
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
|
function pageLoad(sender, e) {
|
||||||
|
cargaTabs();
|
||||||
|
}
|
||||||
|
|
||||||
//$('#gv-container').css({ 'max-height': Alto + 'px' });
|
function CargaTabHistoral(){
|
||||||
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
function showDivEC() {
|
|
||||||
$('#<%= TxtProveedorSucursal2.ClientID %>').val('');
|
|
||||||
$('#<%= TextSucursalDireccion.ClientID %>').val('');
|
|
||||||
$('#<%= TxtSucursalSerie.ClientID %>').val('');
|
|
||||||
$('#<%= TxtCorreoSucursal.ClientID %>').val('');
|
|
||||||
$('#<%= TxtContactoSucursal.ClientID %>').val('');
|
|
||||||
$('#<%= TextSucursalTelefono.ClientID %>').val('');
|
|
||||||
$('#<%= LblUsuarioSucursal.ClientID %>').val('');
|
|
||||||
$('#<%= LblFechaSucursal.ClientID %>').val('');
|
|
||||||
$('#divAgregarSucursal').modal();
|
|
||||||
}
|
|
||||||
|
|
||||||
function hideDivEC() {
|
|
||||||
$('#divAgregarSucursal').modal('hide');
|
|
||||||
}
|
|
||||||
|
|
||||||
function showDivContactoProveedor() {
|
|
||||||
|
|
||||||
$('#<%= TxtNombreContactoProveedor.ClientID %>').val('');
|
|
||||||
$('#<%= TxtPuestoContactoProveedor.ClientID %>').val('');
|
|
||||||
$('#<%= TxtTelefonoContactoProveedor.ClientID %>').val('');
|
|
||||||
$('#<%= TxtExtContactoProveedor.ClientID %>').val('');
|
|
||||||
$('#<%= TxtCelularContactoProveedor.ClientID %>').val('');
|
|
||||||
$('#<%= TxtCorreoContactoProveedor.ClientID %>').val('');
|
|
||||||
|
|
||||||
|
|
||||||
$('#DivAgregarContactoProveedor').modal();
|
|
||||||
}
|
|
||||||
|
|
||||||
function hideDivContactoProveedor() {
|
|
||||||
$('#DivAgregarContactoProveedor').modal('hide');
|
|
||||||
}
|
|
||||||
|
|
||||||
function SetText(ObjFrom, ObjTo) {
|
|
||||||
ObjTo.innerText = ObjFrom.value;
|
|
||||||
}
|
|
||||||
|
|
||||||
function SetText2(ObjTo, Value) {
|
|
||||||
ObjTo.innerText = Value;
|
|
||||||
}
|
|
||||||
|
|
||||||
function getSelectedText(Obj, IfIsNull) {
|
|
||||||
if (Obj.selectedIndex == -1)
|
|
||||||
return IfIsNull;
|
|
||||||
else
|
|
||||||
return Obj.options[Obj.selectedIndex].text;
|
|
||||||
}
|
|
||||||
|
|
||||||
//function fncTxt(t) {
|
|
||||||
|
|
||||||
// $get('TxtNombreComercial').value = t.value;
|
|
||||||
//}
|
|
||||||
|
|
||||||
</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 cargaTabs() {
|
||||||
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) {
|
if (<%= Me.ProveedorID %> > 0) {
|
||||||
$("#__tab_C_Tab_TabHistorial").on("click", function () {
|
let eventosHist = $._data($('#C_Tab_TabHistorial_tab')[0], 'events');
|
||||||
$('#BtnCargaHistorial').click();
|
if(eventosHist == undefined ){
|
||||||
});
|
$("#C_Tab_TabHistorial_tab").on("click", function () {
|
||||||
$("#__tab_C_Tab_TabCxP").on("click", function () {
|
$('#BtnCargaHistorial').click();
|
||||||
$('#BtnCargaCxP').click();
|
});
|
||||||
});
|
}
|
||||||
$("#__tab_C_Tab_TabAnticipos").on("click", function () {
|
|
||||||
|
let eventosCxP = $._data($('#C_Tab_TabCxP_tab')[0], 'events');
|
||||||
|
if(eventosCxP == undefined){
|
||||||
|
$("#C_Tab_TabCxP_tab").on("click", function () {
|
||||||
|
$('#BtnCargaCxP').click();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
$("#C_Tab_TabAnticipos_tab").on("click", function () {
|
||||||
$('#BtnCargaAnticipos').click();
|
$('#BtnCargaAnticipos').click();
|
||||||
});
|
});
|
||||||
$("#__tab_C_Tab_TabBancos").on("click", function () {
|
$("#C_Tab_TabBancos_tab").on("click", function () {
|
||||||
$('#BtnCargaBancos').click();
|
$('#BtnCargaBancos').click();
|
||||||
});
|
});
|
||||||
$("#__tab_C_Tab_TabOC").on("click", function () {
|
$("#C_Tab_TabOC_tab").on("click", function () {
|
||||||
$('#BtnCargaOC').click();
|
$('#BtnCargaOC').click();
|
||||||
});
|
});
|
||||||
$("#__tab_C_Tab_TabUsuarios").on("click", function () {
|
$("#C_Tab_TabUsuarios_tab").on("click", function () {
|
||||||
$('#BtnCargaPortal').click();
|
$('#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 () {
|
function showDivEC() {
|
||||||
|
$('#<%= TxtProveedorSucursal2.ClientID %>').val('');
|
||||||
|
$('#<%= TextSucursalDireccion.ClientID %>').val('');
|
||||||
|
$('#<%= TxtSucursalSerie.ClientID %>').val('');
|
||||||
|
$('#<%= TxtCorreoSucursal.ClientID %>').val('');
|
||||||
|
$('#<%= TxtContactoSucursal.ClientID %>').val('');
|
||||||
|
$('#<%= TextSucursalTelefono.ClientID %>').val('');
|
||||||
|
$('#<%= LblUsuarioSucursal.ClientID %>').val('');
|
||||||
|
$('#<%= LblFechaSucursal.ClientID %>').val('');
|
||||||
|
$('#divAgregarSucursal').modal();
|
||||||
|
}
|
||||||
|
|
||||||
$('#<%= TxtRazonSocial.ClientID %>').keyup(function () {
|
function hideDivEC() {
|
||||||
|
$('#divAgregarSucursal').modal('hide');
|
||||||
|
}
|
||||||
|
|
||||||
var sTemp = $('#<%= TxtRazonSocial.ClientID %>').val();
|
function showDivContactoProveedor() {
|
||||||
|
|
||||||
$('#<%= TxtNombreComercial.ClientID %>').val(sTemp);
|
$('#<%= TxtNombreContactoProveedor.ClientID %>').val('');
|
||||||
|
$('#<%= TxtPuestoContactoProveedor.ClientID %>').val('');
|
||||||
});
|
$('#<%= TxtTelefonoContactoProveedor.ClientID %>').val('');
|
||||||
|
$('#<%= TxtExtContactoProveedor.ClientID %>').val('');
|
||||||
});
|
$('#<%= TxtCelularContactoProveedor.ClientID %>').val('');
|
||||||
|
$('#<%= TxtCorreoContactoProveedor.ClientID %>').val('');
|
||||||
|
|
||||||
|
|
||||||
|
$('#DivAgregarContactoProveedor').modal();
|
||||||
|
}
|
||||||
|
|
||||||
|
function hideDivContactoProveedor() {
|
||||||
|
$('#DivAgregarContactoProveedor').modal('hide');
|
||||||
|
}
|
||||||
|
|
||||||
|
function SetText(ObjFrom, ObjTo) {
|
||||||
|
ObjTo.innerText = ObjFrom.value;
|
||||||
|
}
|
||||||
|
|
||||||
|
function SetText2(ObjTo, Value) {
|
||||||
|
ObjTo.innerText = Value;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getSelectedText(Obj, IfIsNull) {
|
||||||
|
if (Obj.selectedIndex == -1){
|
||||||
|
return IfIsNull;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return Obj.options[Obj.selectedIndex].text;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
</script>
|
</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,9 +5930,19 @@ 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) ' <-- Tu método de carga
|
||||||
UpnHistorial.Update() ' <-- UpdatePanel de Historial
|
UpnHistorial.Update() ' <-- UpdatePanel de Historial
|
||||||
|
UpBtnsTab.Update()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user