-- generación de anticipos timbrado, mejora
This commit is contained in:
@@ -205,10 +205,14 @@
|
||||
</div>
|
||||
<div class="row" id="divAnticipo" runat="server" visible="false">
|
||||
<div class="col-md-2">Anticipo:</div>
|
||||
<div class="col-md-3">
|
||||
<div class="col-md-2">
|
||||
<asp:TextBox ID="TxtAnticipo" runat="server" Width="100px" ClientIDMode="Static" />
|
||||
</div>
|
||||
<div class="col-md-2" runat="server" id="Div3" visible="false"></div>
|
||||
<div class="col-md-1" runat="server" id="DivAntSubProyectoTexto" visible="false">Sucursal:</div>
|
||||
<div class="col-md-2" runat="server" id="DivAntSubProyecto" visible="false">
|
||||
<asp:DropDownList runat="server" ID="DdlSubProyectos" CssClass="form-control input-sm select2me" DataValueField="CveSubProyecto" DataTextField="SubProyecto" Class="table-group-action-input form-control input-inline input-small input-sm">
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-md-3" runat="server" id="Div4" visible="false">
|
||||
</div>
|
||||
</div>
|
||||
@@ -831,7 +835,7 @@
|
||||
|
||||
var chkPesosBancos = $get("ChkPagarPesos");
|
||||
var chkDolaresBancos = $get("ChkPagarDolares");
|
||||
|
||||
debugger;
|
||||
|
||||
if (t.checked) {
|
||||
txt.value = FormatoNumero(importe, 2);
|
||||
@@ -853,8 +857,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
function SumaValores(pagoMultiple, monedaPago) {
|
||||
function FnRecalcula(pagoMultiple,monedaPago)
|
||||
{
|
||||
var Suma = SumaValores(pagoMultiple, monedaPago);
|
||||
$get('TxtImporte').value = FormatoNumero(Suma, 2);
|
||||
$('#LtlTotalMXN').text(FormatoNumero(Suma, 2))
|
||||
}
|
||||
|
||||
function SumaValores(pagoMultiple, monedaPago) {
|
||||
|
||||
var Importe = 0;
|
||||
var Comision = 0.00;
|
||||
var topLevelElem = document.getElementById("form1");
|
||||
@@ -945,7 +956,7 @@
|
||||
$get('TxtAnticipo').value = 0.00
|
||||
}
|
||||
else {
|
||||
Importe = Importe + ToDouble($get('TxtAnticipo').value);
|
||||
Importe = Importe + ToDouble($get('TxtAnticipo').value);
|
||||
}
|
||||
}
|
||||
if ($get('TxtPrestamoImporte') != null) {
|
||||
|
||||
Reference in New Issue
Block a user