Hello community, it is possible that when registering the payment of a table (cash, Voucher, or Card), before sending to print, ask the cashier if they want to print YES or NO.
If the cashier indicates NO, release the table.
If the cashier indicates YES, print the ticket and release the table.
I look forward to your support and guidance to achieve this functionality, the idea is to save paper, but also if you need to give the option to print the invoice, no matter if the account was previously printed.
-Create action
-Name: Print Receipt
-Type of action: Ask a question
-Parameters same as picture
-Locate rule, Before closing ticket
-Add the action Print receipt
-Follow the steps in the image
ready, that worked for me, I hope it helps.
Now create an automation command executed rule for that command. But you didnt set a command name in the action so it wont work yet.
Set a command name then createa rule for that command name and use a constraint for Command Value = Print Bill and then make it execute that print bill action
You do not have to do anything if No is pressed it will not execute the rule if you do the constraint correctly.
I am testing the suggestion that you kindly shared, it works very well at checkout. Print the invoice when you say yes, and release the table without printing the ticket when I give you NO. Excellent!!
Now I have the detail when I want to print the ticket directly from the window where the products are, it ran out of the action of printing, I click it and nothing happens, it does not print the ticket.
So to be able to print in the ticket window I thought of predetermining the value “Yes” in the automation command to print Invoice; This to comply with the code and it works very well, it prints the ticket, but it does not send me to the tables window, and it leaves me the ticket empty as shown in the following image:
Comment: The order is never lost, when choosing from the table map the order is correct.
My question would be how once the ticket is printed, it returns me to the table map as SambaPOS normally works.
Thank you all, for your comments, each one helped me to solve. I achieved the desired functionality.
He shared on how my configuration finally looks:
1.- First I cloned the automation command “Print Invoice” as “AMC Print Invoice”. Since this command would be useful when registering the Payment, the visibility was defined only in “Payments” as shown in the image, for the unpaid states, Isclosed.
1.-
2 -.- Therefore, edit the original automation command and it was only visible for tickets and with statuses of new orders and not paid, as shown in the image. This allowed me to separate the Print Invoice command and the cloned AMC Print Invoice command.
3.- Next, an action called “Print Ticket” was created with the action type “Ask a question” and the parameters that are shown, including Automation Command Name: AMC Print Invoice created previously.
4.- A rule “AMC Print Invoice Rule” is created, in my case I cloned the rule “Print Invoice Rule” and the parameters shown in the image were changed.