--Cambios visuales
This commit is contained in:
@@ -574,7 +574,7 @@
|
||||
<ContentTemplate>
|
||||
<div class="row">
|
||||
<div class="col-md-2">Proveedor:</div>
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-10">
|
||||
<ADS:Dropdownlost ID="DdlProveedores" runat="server" CssStyle="width: 100%;" Width="100%" DataTextField="RazonSocial" DataValueField="CveProveedor"></ADS:Dropdownlost>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -795,15 +795,7 @@
|
||||
<asp:UpdatePanel ID="UPPCreditoDisponible" runat="server" UpdateMode="Conditional" style="width: 250px;">
|
||||
<ContentTemplate>
|
||||
<asp:Label ID="LblCreditoDisponible" runat="server" Text=""></asp:Label>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="left" id="TrPorcentajeCredito" runat="server" visible="False">
|
||||
<td><b>Limite Al:</b> </td>
|
||||
<td>
|
||||
<asp:UpdatePanel ID="UpPorcenctajeCredito" runat="server" UpdateMode="Conditional" style="width: 250px;">
|
||||
<ContentTemplate>
|
||||
|
||||
<asp:Label ID="LblPorcentajeCredito" runat="server" Text=""></asp:Label>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
@@ -1532,7 +1524,12 @@
|
||||
<%--22--%>
|
||||
<asp:BoundField DataField="TieneProntoPago" HeaderText="Pronto Pago" ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ReadOnly="true" Visible="false" />
|
||||
<%--23--%>
|
||||
<asp:BoundField DataField="Costo" HeaderText="Costo" DataFormatString="{0:0.######}" ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Right" ReadOnly="true" Visible="false" />
|
||||
<asp:TemplateField ItemStyle-HorizontalAlign="Right" Visible="false" ItemStyle-Width="5%" HeaderText="Costo">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="LblCosto" runat="server" Text='<%# Eval("Costo", "{0:N2}") %>'></asp:Label><br />
|
||||
<asp:Label ID="LblCostoPorcentaje" runat="server" Text='<%# String.Format("{0:N2} %", ((CDbl(Eval("PU").ToString) - CDbl(Eval("Costo").ToString)) / (CDbl(Eval("PU").ToString)) * 100D)) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<RowStyle CssClass="Texto" />
|
||||
<AlternatingRowStyle CssClass="TextoAlterno" />
|
||||
@@ -6399,36 +6396,6 @@
|
||||
<h4 class="modal-title">Cargar Conceptos</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="portlet light xspadding bordered whitoutcol" style="width: 100%;">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="icon-pin font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Descargar Plantilla </span>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<div class="btn-group">
|
||||
</div>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body formnombottom">
|
||||
<h4>Paso 1 : Descargar Plantilla</h4>
|
||||
<br />
|
||||
<div align="center">
|
||||
<asp:LinkButton ID="LbDescargarExcelVentas" runat="server" CssClass="btn btn-warning" Text="Descargar Plantilla" />
|
||||
</div>
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="portlet light xspadding bordered whitoutcol" style="width: 100%;">
|
||||
@@ -6446,13 +6413,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body formnombottom">
|
||||
<h4>Paso 2: Cargar Plantilla</h4>
|
||||
<h4>Arrastre o haga click para subir el archivo Excel</h4>
|
||||
<br />
|
||||
<%-- <div class="row">
|
||||
<div class="col-md-12" align="center">
|
||||
<h4>Arraste o haga click para subir el archivo Excel</h4>
|
||||
</div>
|
||||
</div>--%>
|
||||
<div class="row">
|
||||
<div class="col-md-11" style="margin-left: 30px; margin-right: 30px; margin-bottom: 20px;">
|
||||
<asp:TextBox ID="TxtExcel" CssClass="ADSdropzone hidden" Text="" data-maxFile="1" runat="server"></asp:TextBox>
|
||||
@@ -6465,9 +6427,10 @@
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="row">
|
||||
<%-- <div class="col-md-2" style="text-align: left">
|
||||
</div>--%>
|
||||
<div class="col-md-12" style="text-align: center">
|
||||
<div class="col-md-3" style="text-align: left">
|
||||
<asp:LinkButton ID="LbDescargarExcelVentas" runat="server" CssClass="btn btn-warning" Text="Descargar Plantilla" />
|
||||
</div>
|
||||
<div class="col-md-9" style="text-align: right">
|
||||
<asp:Button ID="BtnCargaExcel" runat="server" CssClass="btn btn-success" Text="Procesar"></asp:Button>
|
||||
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
|
||||
</div>
|
||||
@@ -6492,36 +6455,6 @@
|
||||
<h4 class="modal-title">Cargar Conceptos</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="portlet light xspadding bordered whitoutcol" style="width: 100%;">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="icon-pin font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Descargar Plantilla </span>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<div class="btn-group">
|
||||
</div>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body formnombottom">
|
||||
<h4>Paso 1 : Descargar Plantilla</h4>
|
||||
<br />
|
||||
<div align="center">
|
||||
<asp:LinkButton ID="LbDescargarExcelCotizaciones" runat="server" CssClass="btn btn-warning" Text="Descargar Plantilla" />
|
||||
</div>
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="portlet light xspadding bordered whitoutcol" style="width: 100%;">
|
||||
@@ -6539,7 +6472,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body formnombottom">
|
||||
<h4>Paso 2: Cargar Plantilla</h4>
|
||||
<h4>Arrastre o haga click para subir el archivo Excel</h4>
|
||||
<br />
|
||||
<div class="row">
|
||||
<div class="col-md-11" style="margin-left: 30px; margin-right: 30px; margin-bottom: 20px;">
|
||||
@@ -6553,9 +6486,10 @@
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="row">
|
||||
<%-- <div class="col-md-2" style="text-align: left">
|
||||
</div>--%>
|
||||
<div class="col-md-12" style="text-align: center">
|
||||
<div class="col-md-3" style="text-align: left">
|
||||
<asp:LinkButton ID="LbDescargarExcelCotizaciones" runat="server" CssClass="btn btn-warning" Text="Descargar Plantilla" />
|
||||
</div>
|
||||
<div class="col-md-9" style="text-align: right">
|
||||
<asp:Button ID="BtnCargarExcelCotizaciones" runat="server" CssClass="btn btn-success" Text="Procesar"></asp:Button>
|
||||
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
|
||||
</div>
|
||||
|
||||
@@ -3184,9 +3184,7 @@ Partial Class Ventas
|
||||
|
||||
CargaEstatusFactura()
|
||||
'DdlEstatus.SelectedValueExist("2")
|
||||
If UsuarioActual.Empresa.CveEmpresa = 189 Then
|
||||
ImgAntiPend.Visible = False
|
||||
End If
|
||||
|
||||
ConfiguraTipoDocto()
|
||||
|
||||
|
||||
@@ -3619,6 +3617,10 @@ Partial Class Ventas
|
||||
|
||||
End If
|
||||
|
||||
If UsuarioActual.Empresa.CveEmpresa = 189 Then
|
||||
ImgAntiPend.Visible = False
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
End Sub
|
||||
@@ -7732,8 +7734,8 @@ Partial Class Ventas
|
||||
Dim CreditoDispo As Decimal = CargaCreditoDisponible(CveCliente, DdlSucursalCliente.SelectedValue.ToEntero())
|
||||
If CreditoDispo > 0 Then
|
||||
TrCreditoDisponible.Visible = True
|
||||
LblCreditoDisponible.Text = CreditoDispo.FormatoNumero
|
||||
TrPorcentajeCredito.Visible = True : LblPorcentajeCredito.Text = $"{PorcentajeCredito.FormatoNumero}%"
|
||||
LblCreditoDisponible.Text = String.Format("{0:C}", CreditoDispo)
|
||||
LblPorcentajeCredito.Text = $"({PorcentajeCredito.FormatoNumero}%)"
|
||||
End If
|
||||
|
||||
End If
|
||||
@@ -7761,8 +7763,8 @@ Partial Class Ventas
|
||||
|
||||
If CreditoDispo > 0 Then
|
||||
TrCreditoDisponible.Visible = True
|
||||
LblCreditoDisponible.Text = CreditoDispo.FormatoNumero
|
||||
If PorcentajeCredito > 80 Then TrPorcentajeCredito.Visible = True : LblPorcentajeCredito.Text = $"{PorcentajeCredito.FormatoNumero}%"
|
||||
LblCreditoDisponible.Text = String.Format("{0:C}", CreditoDispo)
|
||||
If PorcentajeCredito > 80 Then LblPorcentajeCredito.Text = $"({PorcentajeCredito.FormatoNumero}%)"
|
||||
|
||||
If Not UsuarioActual.TienePermisoProceso(268) AndAlso (DdlTipoComprobante.SelectedValue.Contiene("Ing", "Ant", "Rem", "PA") OrElse (DdlTipoComprobante.SelectedValue.Contiene("Cot") AndAlso CveVenta > 0)) AndAlso (Not UsuarioActual.Empresa.Funcionalidad(702).Contiene("2")) Then
|
||||
Dim Vta As New ClsVentas
|
||||
@@ -8273,7 +8275,7 @@ Partial Class Ventas
|
||||
Dim CreditoDispo As Decimal = CargaCreditoDisponible(CveCliente, DdlSucursalCliente.SelectedValue.ToEntero(), ObjVentas)
|
||||
|
||||
TrCreditoDisponible.Visible = True
|
||||
LblCreditoDisponible.Text = CreditoDispo.FormatoNumero
|
||||
LblCreditoDisponible.Text = String.Format("{0:C}", CreditoDispo)
|
||||
UPPCreditoDisponible.Update()
|
||||
UpParametros.Update()
|
||||
End If
|
||||
@@ -17070,9 +17072,12 @@ Partial Class Ventas
|
||||
|
||||
#Region " ANTICIPOS "
|
||||
Private Sub CargaAnticipos(CveCliente As Integer)
|
||||
|
||||
Dim CargaAnticipos As Boolean = True
|
||||
If UsuarioActual.CveEmpresa = 189 Then
|
||||
CargaAnticipos = False
|
||||
End If
|
||||
HdnTieneAnticipos.Value = "0"
|
||||
If CveCliente > 0 Then
|
||||
If CveCliente > 0 AndAlso CargaAnticipos Then
|
||||
|
||||
'QUE NO SE PUEDA REALIZAR AMORTIZACIÓN DE ANTICIPO POR DESCUENTO
|
||||
If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
|
||||
|
||||
Reference in New Issue
Block a user