- checkbox de "descuento por efectivo", se cambió a apagado por default

This commit is contained in:
Jose Alberto Guerra Ugalde
2024-06-26 07:06:01 -06:00
parent 56dfbf950f
commit b44a635891
4 changed files with 5 additions and 4 deletions

View File

@@ -2564,7 +2564,8 @@ Private Sub b_imprimirTicket_Click
p_transparenteDescuento.Visible = True
' p_leyendaDescuento.Visible = True
' p_leyendaDescuento.BringToFront
If Not(Starter.ticketFactura) Then cb_leyendaDescuento.Checked = True
cb_leyendaDescuento.Checked = False
' If Not(Starter.ticketFactura) Then cb_leyendaDescuento.Checked = True
End Sub
Private Sub cb_pagoPropina_SelectedIndexChanged (Index As Int)
@@ -3572,7 +3573,7 @@ Private Sub cb_factura_CheckedChange(Checked As Boolean)
cb_mostrarDescuento.Enabled = False
Else
Log(333)
cb_leyendaDescuento.Enabled = True
' cb_leyendaDescuento.Enabled = True
cb_mostrarDescuento.Enabled = True
End If
Starter.skmt.ExecNonQuery($"update PEDIDO_TICKET set PT_FACTURAR = '${Checked}' where PT_TICKET = '${Starter.ticketActual}' and PT_MESA = '${Starter.mesaActual}' and PT_PAGO = 'VENTA'"$)