--FIX ejecucion multiple de eventos
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">
|
||||||
|
|
||||||
@@ -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,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">
|
||||||
@@ -980,7 +970,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@@ -1009,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>
|
||||||
@@ -1049,13 +1037,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" />
|
||||||
@@ -1202,7 +1184,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 +1193,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 +1221,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 +1288,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 +1332,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>
|
||||||
@@ -1425,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">
|
||||||
@@ -1504,7 +1470,6 @@
|
|||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1517,7 +1482,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@@ -1525,7 +1489,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 +1509,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 +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>
|
||||||
|
|
||||||
@@ -1604,7 +1567,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@@ -1628,7 +1590,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>
|
||||||
@@ -1824,7 +1785,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
@@ -1952,17 +1912,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>
|
||||||
@@ -2023,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>
|
||||||
|
|
||||||
@@ -2115,7 +2030,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 +2041,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">
|
||||||
@@ -2759,30 +2674,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 +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">
|
||||||
|
|
||||||
@@ -2854,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>
|
||||||
@@ -2862,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>
|
||||||
@@ -2886,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">
|
||||||
@@ -2933,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>
|
||||||
@@ -2960,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">
|
||||||
@@ -3034,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">
|
||||||
@@ -3072,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">
|
||||||
@@ -3090,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>
|
||||||
@@ -3287,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">
|
||||||
@@ -3846,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">
|
||||||
@@ -3929,8 +3810,13 @@
|
|||||||
</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"/>
|
||||||
|
</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 +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",
|
||||||
@@ -4009,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
|
||||||
}
|
}
|
||||||
@@ -4130,38 +3978,48 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
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 CargaTabHistoral(){
|
||||||
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) {
|
||||||
|
let eventosHist = $._data($('#C_Tab_TabHistorial_tab')[0], 'events');
|
||||||
|
if(eventosHist == undefined ){
|
||||||
|
$("#C_Tab_TabHistorial_tab").on("click", function () {
|
||||||
|
$('#BtnCargaHistorial').click();
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
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();
|
||||||
|
});
|
||||||
|
$("#C_Tab_TabBancos_tab").on("click", function () {
|
||||||
|
$('#BtnCargaBancos').click();
|
||||||
|
});
|
||||||
|
$("#C_Tab_TabOC_tab").on("click", function () {
|
||||||
|
$('#BtnCargaOC').click();
|
||||||
|
});
|
||||||
|
$("#C_Tab_TabUsuarios_tab").on("click", function () {
|
||||||
|
$('#BtnCargaPortal').click();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
}
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
function showDivEC() {
|
function showDivEC() {
|
||||||
$('#<%= TxtProveedorSucursal2.ClientID %>').val('');
|
$('#<%= TxtProveedorSucursal2.ClientID %>').val('');
|
||||||
@@ -4205,129 +4063,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,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