I am great fan of SambaPos, and hats off to your hard work and dedication. actually i am looking for guidance on matter bellow:- Is there any way to setup admin authorization on discounts and change price.
if yes please guide me when possible, your help is much appreciated.
Thanks
Jagvir
Only Automation Commands can have an Admin override, otherwise an Admin operator will need to login, select the ticket and apply price changes or apply discounts.
For the Change Price situation, you can create an Automation Button called Price Change, set Conformation to Admin Pin and map to Order Line, then create a Rule to use this Automation Button, with the price from the Numberpad {:NUMBERPAD} and Update Order by setting Price to {:NUMBERPAD}
Hi John S,
Many Many Thanks for your help Sir, I really appreciated
we can hide discounts from payment screen i know how to do it, But is there any way we can put admin pin on ādiscount buttonā on Payment Screen. if possible, please guide me Sir.
@emre, to achieve the same result on the Payment Screen (as we do in the Ticket Screen), we need to be able to read the NumberPad, but I am not getting any values.
Is it possible to have this ability?
Then we can use an Automation Command to apply a variable discount with Admin override.
We can replace it with an Automation Command, so removing it would not be an issue. But are we taking a step backwards and making it a little harder to setup.
I think hide it for non admin users.
We can revisit this later and remove completely if needed.
OK so Iāll leave it as is for now. I can include that feature in default rules for new users but that will be an issue for existing users.
Iām trying to solve import, export issue and if I can solve it soon Iāll create another solution. If not Iāll remove it for admin users on the other release.
There are 2 issues here: one with the hard-coded button, and one with the new button Iāve created using automation.
Change Price (hard-coded button) doesnāt function on first attempt.
Type a value into NumberPad, select item, click Change Price, message appears saying I need to enter a value (which Iāve already done), close the modifier list (since it appears when you select an item), retype the value into the NumberPad, select the item (modifier list appears again), click Change Price, then price is updated. The requirement to do this twice is not intuitive. And of course, itās only available to Administrators.
Since I wanted to create my own Automation Command for Price Change (in order to control permissions), Iāve done so, as youāve instructed @JohnS , but as you can see from the screenshots, the {:NUMBERPAD} value is not being captured (the Message Box is evidence of this), thus, the price isnāt being changed.
@emre, can you look into this please. I can see the problem @QMcKay has as he has Auto Select for his items.
{:NUMBERPAD} is not holding the value after an item is selected.
SambaPOS will display a dialog box to let user input the item price. So you wonāt need to deal with numberpad value. User will just click on change price and input price.
[?Price:\d+\.?\d{0,2}] means Ask Price value and only allow numbers with two decimal places.
I think the issue with the change price process and number pad might have started when we got the ability to enter a price and select a misc item (which doesnāt have a price set) to set itās price.
John, I followed all the steps in this post but still missing the Conformation with Admin PIN step.
I guess I have this working for Admin and Manager, but want to be able to do this via a Sales logon. With a manager approval. Iām missing that step/connection.