mirror of
https://github.com/KeymonSoft/Kelloggs_v4.git
synced 2026-04-21 03:49:14 +00:00
Se agrego el descuento de las condiciones comerciales, de acuerdo al tipo (salty snacks, ping y rtec) y por sku.
This commit is contained in:
@@ -536,7 +536,7 @@ Sub B4XPage_Appear
|
||||
' b_noVenta.Visible = False
|
||||
' End If
|
||||
If CREDITO = "1" Then
|
||||
Msgbox("ALTO","A este cliente no se le puede vender ya que tienen adeudo en su crédito") 'ignore
|
||||
Msgbox("A este cliente no se le puede vender ya que tienen adeudo en su crédito", "ALTO") 'ignore
|
||||
B_VENTA.Visible = False
|
||||
clienteDeudor = True
|
||||
' gest.Visible = False
|
||||
@@ -595,7 +595,6 @@ Sub B4XPage_Appear
|
||||
C1.Close
|
||||
End If
|
||||
' B_VENTA.Visible = True
|
||||
|
||||
If CREDITO = "1" Then
|
||||
Msgbox("El cliente tiene credito excedido","Aviso") 'ignore
|
||||
Subs.iniciaActividad("Principal")
|
||||
@@ -1483,7 +1482,8 @@ Sub B_IMP2_Click
|
||||
s.Position =0
|
||||
Printer1.WriteString(Printer1.REVERSE & "===============================" & CRLF)
|
||||
Private total2 As String = 0
|
||||
If s.GETSTRING("TOTAL") <> Null And IsNumber(s.GETSTRING("TOTAL")) Then total2 = s.GETSTRING("TOTAL")
|
||||
' If s.GETSTRING("TOTAL") <> Null And IsNumber(s.GETSTRING("TOTAL")) Then total2 = s.GETSTRING("TOTAL")
|
||||
total2 = kh.traeTotalCliente
|
||||
Printer1.WriteString(Printer1.UNREVERSE & Printer1.BOLD & "Total venta: $" & NumberFormat2(total2, 1, 2, 2, False) & CRLF)
|
||||
' Printer1.WriteString(Printer1.UNREVERSE & Printer1.BOLD & "Total venta: $" & s.GetString("TOTAL") & CRLF)
|
||||
' Printer1.WriteString("===============================" & CRLF)
|
||||
|
||||
Reference in New Issue
Block a user