-- mejoras, para considerar las devoluciones de caja
This commit is contained in:
@@ -225,7 +225,7 @@
|
||||
<asp:CheckBox ID="ChkFaltante" runat="server" Text="Faltante/Sobrante" CssClass="checkbox" />
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 DivComision" style="display: none">
|
||||
<div class="col-md-1 DivComision" style="display: none">
|
||||
|
||||
<div class="form-group form-md-line-input input-iconright" style="width: 100px">
|
||||
<asp:TextBox runat="server" ID="TxtComision"
|
||||
@@ -268,7 +268,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-1 DivDescuento" style="display: none">
|
||||
<div class="col-md-1 DivDescuento" style="display: none" id="divdescuento2" runat="server">
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:DropDownList ID="DdlSubProyectoDescuento" Width="100px" runat="server" AppendDataBoundItems="true" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control select2me">
|
||||
</asp:DropDownList>
|
||||
@@ -277,7 +277,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 DivDescuento" style="display: none">
|
||||
<div class="col-md-2 DivDescuento" style="display: none" id="divdescuento3" runat="server">
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:DropDownList ID="DdlClasificacionDescuento" Width="100%" AutoPostBack="false" runat="server" AppendDataBoundItems="true" DataTextField="Clasificacion" DataValueField="CveClasificacion" CssClass="form-control select2me">
|
||||
</asp:DropDownList>
|
||||
@@ -289,7 +289,7 @@
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:DropDownList ID="DdlPersonal" AutoPostBack="false" Width="100%" runat="server" AppendDataBoundItems="true" DataTextField="NombreCompleto" DataValueField="CvePersonal" CssClass="form-control select2me">
|
||||
</asp:DropDownList>
|
||||
<label for="<%= DdlPersonal.ClientID.ToString()%>">Emp:</label>
|
||||
<label for="<%= DdlPersonal.ClientID.ToString()%>">Empleado:</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -340,14 +340,14 @@
|
||||
<label id="LblSubproyectoIntermediario">SubProyecto:</label></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>f
|
||||
</div>
|
||||
|
||||
<div class="row rowcheck truncate" id="DivRowCuenta" style="padding: 0px!important; margin: 0px!important" runat="server" visible="false">
|
||||
<div class="col-md-1" runat="server" id="Div3" style="width: 155px">
|
||||
<asp:CheckBox ID="ChkCuentaRetorno" runat="server" Text="Caja" CssClass="checkbox" />
|
||||
</div>
|
||||
<div class="col-md-2 DivRowCuenta2" id="DivCuentaImporte" style="display: none">
|
||||
<div class="col-md-1 DivRowCuenta2" id="DivCuentaImporte" style="display: none">
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:TextBox runat="server" ID="TxtCuentaRetorno" Width="100px" onkeypress="return numericOnly(this);" ondrop="return false;" onpaste="return false;" CssClass=" form-control Numeros"></asp:TextBox>
|
||||
<label for="<%= TxtCuentaRetorno.ClientID.ToString()%>">Importe:</label>
|
||||
@@ -653,7 +653,7 @@
|
||||
var comision2 = ToDouble($('#C_TxtDescuento').val());
|
||||
if (comision2 > ValorTotalSeleccionado) {
|
||||
$('#C_TxtDescuento').val(descuento)
|
||||
alert("No es posible poner un IVA superior a lo seleccionado")
|
||||
alert("No es posible poner un valor superior a lo seleccionado")
|
||||
} else {
|
||||
saldo = ValorTotalSeleccionado - comision2 + comision - IVA - ComisionIntermediario - CuentaRetorno;
|
||||
$('#C_lblValorTotal').text(FormatoNumero(saldo, 2));
|
||||
|
||||
Reference in New Issue
Block a user