mirror of
https://github.com/KeymonSoft/Lanterna_H.git
synced 2026-04-19 21:59:18 +00:00
Se agrego tipo de pago y comensales a las ordenes en la pantalla de *ordenes*
This commit is contained in:
Binary file not shown.
@@ -86,7 +86,7 @@ Version=12.8
|
|||||||
#Region Project Attributes
|
#Region Project Attributes
|
||||||
#ApplicationLabel: Lanterna
|
#ApplicationLabel: Lanterna
|
||||||
#VersionCode: 1
|
#VersionCode: 1
|
||||||
#VersionName: 4.06.22
|
#VersionName: 4.06.23
|
||||||
'SupportedOrientations possible values: unspecified, landscape or portrait.
|
'SupportedOrientations possible values: unspecified, landscape or portrait.
|
||||||
#SupportedOrientations: landscape
|
#SupportedOrientations: landscape
|
||||||
#CanInstallToExternalStorage: False
|
#CanInstallToExternalStorage: False
|
||||||
|
|||||||
@@ -22,6 +22,6 @@ ModuleClosedNodes4=
|
|||||||
ModuleClosedNodes5=
|
ModuleClosedNodes5=
|
||||||
ModuleClosedNodes6=
|
ModuleClosedNodes6=
|
||||||
ModuleClosedNodes7=
|
ModuleClosedNodes7=
|
||||||
NavigationStack=Principal,b_imp3_Click,2176,0,Principal,b_pagoCerrar_Click,1422,0,Subs,traeTicket,684,0,Subs,traeConsecutivoTicket,1471,0,Principal,b_abrirMesa_Click,1258,0,Principal,b_resumen_Click,3486,6,Visual Designer,principal.bal,-100,6,Principal,cb_factura_CheckedChange,3562,0,Principal,b_imprimirTicket_Click,2557,1,Main,Process_Globals,29,0
|
NavigationStack=Principal,b_pagoCerrar_Click,1422,0,Subs,traeTicket,684,0,Subs,traeConsecutivoTicket,1471,0,Principal,b_abrirMesa_Click,1258,0,Principal,b_resumen_Click,3486,6,Principal,cb_factura_CheckedChange,3562,0,Principal,b_imprimirTicket_Click,2557,1,Main,Process_Globals,29,0,Visual Designer,principal.bal,-100,6,Principal,Globals,118,0,Principal,llenaHistorial,1011,6
|
||||||
SelectedBuild=0
|
SelectedBuild=0
|
||||||
VisibleModules=6,5,7
|
VisibleModules=6,5,7
|
||||||
|
|||||||
@@ -980,7 +980,7 @@ Private Sub b_terminar_Click
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub llenaHistorial
|
Sub llenaHistorial
|
||||||
Dim rs_hist As ResultSet = Starter.skmt.ExecQuery($"Select * from pedido_ticket where PT_PAGO <> 'VENTA' and PT_PAGO <> 'MULTI-TICKET' order by PT_PAGO desc, PT_TICKET"$)
|
Dim rs_hist As ResultSet = Starter.skmt.ExecQuery($"Select *, ifnull(PT_PAGO2,"") as pt from pedido_ticket where PT_PAGO <> 'VENTA' and PT_PAGO <> 'MULTI-TICKET' order by PT_PAGO desc, PT_TICKET"$)
|
||||||
If rs_hist.RowCount > 0 Then
|
If rs_hist.RowCount > 0 Then
|
||||||
l_historialVacio.Visible = False
|
l_historialVacio.Visible = False
|
||||||
Private cs As CSBuilder
|
Private cs As CSBuilder
|
||||||
@@ -1001,7 +1001,21 @@ Sub llenaHistorial
|
|||||||
label2.TextColor = Colors.RGB(1,127,1)
|
label2.TextColor = Colors.RGB(1,127,1)
|
||||||
Private fecha As String = rs_hist.GetString("PT_FECHA")
|
Private fecha As String = rs_hist.GetString("PT_FECHA")
|
||||||
fecha = fecha.SubString2(1,10)
|
fecha = fecha.SubString2(1,10)
|
||||||
lv_historial.AddTwoLines2(cs.Color(elColor).Append("Orden: " & rs_hist.GetString("PT_TICKET") & " - Mesa: " & rs_hist.GetString("PT_MESA")).PopAll, $"Fecha: ${fecha}, Productos: ${rs_hist.GetString("PT_NOART")}, Total: $${NumberFormat2(rs_hist.GetString("PT_MONTO"), 1, 2, 2, True)}"$, $"${rs_hist.GetString("PT_MESA")}|${rs_hist.GetString("PT_TICKET")}|${rs_hist.GetString("PT_PAGO")}|${rs_hist.GetString("PT_MESERO")}|${rs_hist.GetString("PT_COMENSALES")}|-|${rs_hist.GetString("PT_ORIGEN")}"$)
|
Private pt As String = ""
|
||||||
|
|
||||||
|
If rs_hist.GetString("pt") = "Visa/Mastercard Credito" Or rs_hist.GetString("pt") = "Visa/Mastercard Debito" Then
|
||||||
|
pt = "Mifel"
|
||||||
|
Else if rs_hist.GetString("pt") = "American Express" Then
|
||||||
|
pt = "Amex"
|
||||||
|
else if rs_hist.GetString("pt") = "Efectivo" Then
|
||||||
|
pt = "Efectivo"
|
||||||
|
Else
|
||||||
|
pt = rs_hist.GetString("pt")
|
||||||
|
End If
|
||||||
|
|
||||||
|
Private co As String = rs_hist.GetString("PT_COMENSALES")
|
||||||
|
|
||||||
|
lv_historial.AddTwoLines2(cs.Color(elColor).Append("Orden: " & rs_hist.GetString("PT_TICKET") & " - Mesa: " & rs_hist.GetString("PT_MESA") & " - " & pt & " - C:" & co).PopAll, $"Fecha: ${fecha}, Productos: ${rs_hist.GetString("PT_NOART")}, Total: $${NumberFormat2(rs_hist.GetString("PT_MONTO"), 1, 2, 2, True)}"$, $"${rs_hist.GetString("PT_MESA")}|${rs_hist.GetString("PT_TICKET")}|${rs_hist.GetString("PT_PAGO")}|${rs_hist.GetString("PT_MESERO")}|${rs_hist.GetString("PT_COMENSALES")}|-|${rs_hist.GetString("PT_ORIGEN")}"$)
|
||||||
Loop
|
Loop
|
||||||
Else
|
Else
|
||||||
lv_historial.Visible = False
|
lv_historial.Visible = False
|
||||||
|
|||||||
Reference in New Issue
Block a user