UPDATE **23-09-2017
- Added Remove/Untag Order Comment On the fly
Ok so it’s been a while since I last updated this thread but i thought I’d share some progress on the ON THE FLY order tagging/commenting.
In the beginning we could add comments as tags on the go. Now we can also remove them on the go
NOTE: Removing a comment as of now only applies to any comment added using the “ORDER COMMENT” button
Seeing it In Action
++++++++++++++++++++++++++++++++++++++++
Step 1 Create Auto Command Button: Remove Comment
- Add Automation Command Button and name it Remove Comment
- Under Mapping make the Visibility Order line
- Press Save
Step 2 Create Action: OC_Untag Order Tag
- Create another action and name it OC_Untag Order Tag
- Under Action Type Choose Untag Order
- Under Order Tag Name put [:Order Tag Name]
- Under Order Tag Value put [:Order Tag Value]
Step 3 Create Action: OC_Ask Question
- Create a new action and name it OC_Ask Question
- Under Action Type Choose Ask Question
- Under Question put [:Question]
- Under Buttons put [:Buttons]
- Under Automation Command Name put [:AMC Name]
The next two parameters are optional should you wish to customize the color of the popup box
* Under Background Color put [:BGColor]
* Under Transparent Color put [:TPColor]
Step 4 Create Rule: OC_Remove Order Comment AQ
- Go to Rules under Automation.
- Press Rules.
- On the right press Add Rule.
- Name it: OC_Remove Order Comment AQ.
- Under Event Name select : Automation Command Executed.
- Press Add Custom Constraint then insert the following
Automation Command name–Equals–Remove Comment.
- Press Select Action. In the left hand column, search for OC_Ask Question and press >> to put it in the right hand column and press OK
- In the action, under Question parameter type Select Comment To Remove.
- In the action, under Buttons type {ORDER TAG LIST:Order Comment}.
- In the action, under AMC Name type Update OC.
- Press Save
Step 5 Create Rule:OC_Update Order Comment AQ
- Create a new rule name OC_Update Order Comment AQ
- Under Event Name select : Automation Command Executed.
*Press Add Custom Constraint then insert the following
Automation Command name–Equals–Update OC.
- Press Select Action. In the left hand column, search for OC_Untag Order Tag and press >> to put it in the right hand column and press OK
- In the action, under Order Tag Name parameter, type Order Comment
- In the action, under Order Tag Value parameter, type [:CommandValue]
- Press Save
The result? On the fly Order Comment Adding and now REMOVING!
Database Import File
I’m hoping for some this tutorial was easy to follow… However in the case that it wasn’t and you really want to implement this feature , I have attached the file which includes all the rules, actions and buttons outlined in this tutorial. So all you have to do is download it, and import it into your SambaPOS database. Once imported you can use it straight away.
OC_Custom Order Comments Module.zip (1.4 KB)
If you don’t know how to import this file please follow the link below
I intend to keep improving on this tool and future tools as well. Any suggestions and feedback is highly appreciated and taken into consideration. Any issues just let me know.
Regards
Shivan