English Boards > Support
Print Template missing tags
jenem:
Hi Emre,
I may be missing something but looking at the recipt print temple that I am unable to find a tag for payment entered and change given.
On a printed receipt I want to record payment given
IE Cost = 4.80
Payment given £10
Change given 5.20
This would cut down on people trying to say they had given a bigger amount than they really had.
I cant seem to identify the template Tags to set this up on the printed receipt.
Edgar
JohnS:
I can answer this :)
Had to do this for our pole display.
Two Actions
Action Name - Update Tendered Amount
Action Type - Update Program Setting
Setting Name - TENDERED
Setting Value - [Setting Value]
Update Type - Update
Action Name - Update Change Due
Action Type - Update Program Setting
Setting Name - CHANGEDUE
Setting Value - [Setting Value]
Update Type - Update
One Rule
Rule Name - Change Updated
Event Name - Change Amount Updated
Actions - Update Tendered Amount
Setting Value - [TenderedAmount]
Actions - Update Change Due
Settings Value - [ChangeAmount]
Printer Template
Add the following to the Footer
<J00>Tendered|${SETTING:TENDERED}
<J00>Change Due|${SETTING:CHANGEDUE}
This is a quick run down, you can use this link as a reference for more detailed step by step - http://forum2.sambapos.org/index.php/topic,80.msg379.html#msg379
Have Fun.
jenem:
As ever John,
Ta!
You are getting too good!!
I will try it later.
Thanks
Edgar
PS I should have used search function on forum.
jenem:
Thanks for your help John.
I got a bit confused with setting actions but all ok now.
I couldn't see the drop down box in action list. This was because I occidentally used {} instead of []
Edgar
jenem:
Hi John, Emre.
Receipts printing OK showing Tendered amount and Change to give and printing fine.
Problem If you next enter cash, the receipt prints the previous amount tendered and change given.
I have tried to create action and update rule to clear previous amounts but at the moment nothing seems to work.
Any advice on setting rules and actions would be of great help.
Edgar
Navigation
[0] Message Index
[#] Next page
Go to full version