--FIX Pagos e impresiones con NC en cobranza
This commit is contained in:
@@ -292,8 +292,15 @@ Partial Class Ventas_PVCobranza
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If e.Row.DBCampo("AplicaImpresionPorAnt").ToEntero() = 1 Then
|
If e.Row.DBCampo("AplicaImpresionPorAnt").ToEntero() = 1 Then
|
||||||
e.Row.FCLinkButton("BtnPagar").Visible = False
|
'SI TIENE SALDO, QUE APLIQUE EL PAGO
|
||||||
|
If e.Row.DBCampo("Saldo").ToDecimal() > 0 Then
|
||||||
|
e.Row.FCLinkButton("BtnPagar").Visible = True
|
||||||
|
e.Row.FCLinkButton("LnkImprimir").Visible = False
|
||||||
|
Else
|
||||||
|
e.Row.FCLinkButton("BtnPagar").Visible = False
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -467,6 +474,10 @@ Partial Class Ventas_PVCobranza
|
|||||||
MsgError = "Error al aplicar el corte"
|
MsgError = "Error al aplicar el corte"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If MsgError = "" AndAlso Not ObjVentas.UpdateVentaTicketImpreso(CveVenta, 0) Then
|
||||||
|
MsgError = "No se pudo desmarcar la impresión"
|
||||||
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
MsgError = "Error al registrar prepólizas"
|
MsgError = "Error al registrar prepólizas"
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user