From 814b4e296d6c9c9e49d34a3ebca50a04de349bed Mon Sep 17 00:00:00 2001 From: rrene Date: Thu, 25 Apr 2024 09:42:53 -0700 Subject: [PATCH] -- considerar variable TipoEntrega, para los COD, entrega a domicilio, en lugar de variable fija --- Ventas/PVCobranza.aspx.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ventas/PVCobranza.aspx.vb b/Ventas/PVCobranza.aspx.vb index bb76c1976..18674f73f 100644 --- a/Ventas/PVCobranza.aspx.vb +++ b/Ventas/PVCobranza.aspx.vb @@ -286,12 +286,12 @@ Partial Class Ventas_PVCobranza 'e.Row.CssClass = "blue-madison" End If - If e.Row.DBCampo("CveCondicionEntrega").ToEntero() = 9 OrElse e.Row.DBCampo("AplicaImpresionPorAnt").ToEntero() = 1 Then + If e.Row.DBCampo("TipoEntrega") = "2" OrElse e.Row.DBCampo("AplicaImpresionPorAnt") = "1" Then e.Row.FCLinkButton("LnkImprimir").Visible = True ScriptManager.GetCurrent(Me).RegisterPostBackControl(e.Row.FCLinkButton("LnkImprimir")) End If - If e.Row.DBCampo("AplicaImpresionPorAnt").ToEntero() = 1 Then + If e.Row.DBCampo("AplicaImpresionPorAnt") = "1" Then 'SI TIENE SALDO, QUE APLIQUE EL PAGO If e.Row.DBCampo("Saldo").ToDecimal() > 0 Then e.Row.FCLinkButton("BtnPagar").Visible = True