--FIX Pagos e impresiones con NC en cobranza
This commit is contained in:
@@ -292,8 +292,15 @@ Partial Class Ventas_PVCobranza
|
||||
End If
|
||||
|
||||
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 Sub
|
||||
|
||||
@@ -467,6 +474,10 @@ Partial Class Ventas_PVCobranza
|
||||
MsgError = "Error al aplicar el corte"
|
||||
End If
|
||||
|
||||
If MsgError = "" AndAlso Not ObjVentas.UpdateVentaTicketImpreso(CveVenta, 0) Then
|
||||
MsgError = "No se pudo desmarcar la impresión"
|
||||
End If
|
||||
|
||||
Else
|
||||
MsgError = "Error al registrar prepólizas"
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user