-- activar otros ingresos en devolucion de efectivo de compras
This commit is contained in:
@@ -269,8 +269,8 @@
|
||||
<asp:TextBox ID="TxtOtrosIngresosEgresos" runat="server" CssClass="form-control input-sm" ClientIDMode="Static" Style="text-align: right;" AutoComplete="off"></asp:TextBox>
|
||||
|
||||
</div>
|
||||
<label id="lblDevolucion" runat="server" class="col-md-2 control-label ">Dev. Cliente:</label>
|
||||
<div id="divTxtDevolucion" runat="server" class="col-md-2 input-icon">
|
||||
<label id="lblDevolucion" runat="server" class="col-md-2 control-label" visible="false">Dev. Cliente:</label>
|
||||
<div id="divTxtDevolucion" runat="server" class="col-md-2 input-icon" visible="false">
|
||||
<i style="margin: 0px;">$</i>
|
||||
<asp:TextBox ID="TxtDevolución" runat="server" CssClass="form-control input-sm" ClientIDMode="Static" Style="text-align: right;" AutoComplete="off"></asp:TextBox>
|
||||
|
||||
@@ -1784,6 +1784,17 @@
|
||||
if ($get('TxtImporte')) $get('TxtImporte').value = ToDouble($get('TxtDevolución').value) + Ot;
|
||||
}
|
||||
|
||||
function ValidarCantidadDevCompras() {
|
||||
var Ot = 0.00;
|
||||
var Dev = 0.00;
|
||||
debugger; //valida importe
|
||||
//if ($get('TxtDevolución') && (ToDouble($get('TxtDevolución').value) > s)) $get('TxtDevolución').value = s;
|
||||
FCSumaTotalesNotas();
|
||||
// considera importe de OT ingresos, para que se peuda exceder
|
||||
if ($get('TxtOtrosIngresosEgresos')) { Ot = ToDouble($get('TxtOtrosIngresosEgresos').value); }
|
||||
if ($get('TxtImporte')) $get('TxtImporte').value = ToDouble($get('TxtImporte').value) + Ot;
|
||||
}
|
||||
|
||||
var TipoCambioActual = 0.0;
|
||||
function CambiaTC(txt) {
|
||||
let TipoCambioTxt = ToDouble(txt.value)
|
||||
|
||||
Reference in New Issue
Block a user