validacion de importes, de descuento via nomina
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<asp:TextBox ID="hdnTotal" runat="server" Style="text-align: right; display: none;" AutoComplete="off" Width="145px"></asp:TextBox>
|
||||
<asp:TextBox ID="hdnTotal" runat="server" Style="text-align: right; display: none;" ClientIDMode="Static" AutoComplete="off" Width="145px"></asp:TextBox>
|
||||
<hr />
|
||||
<div class="row" id="divTipoDevolucion" runat="server" visible="false" style="margin-top: -20px;">
|
||||
<div class="col-md-12">
|
||||
@@ -222,7 +222,7 @@
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:Label runat="server" Text="Veces por Aplicar:" AssociatedControlID=""></asp:Label>
|
||||
|
||||
<asp:TextBox ID="TxtVecesAplicar" CssClass="form-control" runat="server"></asp:TextBox>
|
||||
<asp:TextBox ID="TxtVecesAplicar" CssClass="form-control" runat="server" Text="1"></asp:TextBox>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -333,8 +333,11 @@
|
||||
} else {
|
||||
txt.value = "";
|
||||
}
|
||||
|
||||
let valor = FormatoNumero(SumaValores(), 2);
|
||||
$('#hdnTotal').val(valor);
|
||||
debugger;
|
||||
|
||||
$get('hdnTotal').value = valor;
|
||||
$get('TxtImporte').value = valor;
|
||||
|
||||
}
|
||||
@@ -354,8 +357,9 @@
|
||||
}
|
||||
}
|
||||
var Suma = SumaValores();
|
||||
let valor = FormatoNumero(SumaValores(), 2);
|
||||
$('#C_hdnTotal').val(valor);
|
||||
let valor = FormatoNumero(Suma, 2);
|
||||
debugger;
|
||||
$get('hdnTotal').value = valor;
|
||||
$get('TxtImporte').value = valor;
|
||||
|
||||
if ($get('TxtTotal') != null) {
|
||||
|
||||
Reference in New Issue
Block a user