--FIX metodo de pago al facturar remision

This commit is contained in:
JPerez
2025-06-19 11:11:02 -07:00
parent 9e01f6f848
commit 285f9d8b55
2 changed files with 6 additions and 4 deletions

View File

@@ -491,7 +491,7 @@
<asp:Literal ID="LtLTipoSaldo" runat="server" Text="Total:"></asp:Literal> <asp:Literal ID="LtLTipoSaldo" runat="server" Text="Total:"></asp:Literal>
</b>&nbsp; </b>&nbsp;
<asp:Literal ID="LtlSaldo" runat="server" Text=""></asp:Literal> <asp:Label ID="LtlSaldo" runat="server" Text=""></asp:Label>
&nbsp; &nbsp;
<b> <b>
<asp:Literal ID="LtlMoneda" runat="server"></asp:Literal></b> <asp:Literal ID="LtlMoneda" runat="server"></asp:Literal></b>
@@ -1476,9 +1476,9 @@
let totalAnt = 0; let totalAnt = 0;
//si es con.nc,es.el.total //si es con.nc,es.el.total
let Total = ToDouble($get("C_LtlSaldo").value.replace(",", "")); let Total = ToDouble($get("C_LtlSaldo").innerText.replace(",", ""));
let SaldoCompra = parseFloat(parseFloat($get("C_LtlSaldo").value.replace(",", "")).toFixed(2)); let SaldoCompra = parseFloat(parseFloat($get("C_LtlSaldo").innerText.replace(",", "")).toFixed(2));
if (t.checked) { if (t.checked) {
@@ -1517,7 +1517,7 @@
function FnCambiaAnt(chk, txt, saldo) { function FnCambiaAnt(chk, txt, saldo) {
let Total = ToDouble($get("C_LtlSaldo").value.replace(",", ""));// ToDouble($get('TxtSubTotal').value); let Total = ToDouble($get("C_LtlSaldo").innerText.replace(",", ""));// ToDouble($get('TxtSubTotal').value);
let importeTxt = parseFloat(txt.value.replace(/,/g, '')); let importeTxt = parseFloat(txt.value.replace(/,/g, ''));

View File

@@ -1402,6 +1402,8 @@ Partial Class Ventas_PVCobranza
Dim Importe = GvRow.FCTextBox(String.Format("TxtAnticipo{0}", GvRow.RowIndex)).Text.ToDecimal() Dim Importe = GvRow.FCTextBox(String.Format("TxtAnticipo{0}", GvRow.RowIndex)).Text.ToDecimal()
DtPagos.Rows.Add({CveFormaPagoAnt, Importe}) DtPagos.Rows.Add({CveFormaPagoAnt, Importe})
PagadoSinEfectivo += Importe
End If End If
Next Next
End If End If