I followed the settings below. John thanks for this guide. My problem is when I get a reciept; Tendered and Change Due dont show the last 2 digits. What could it be the problem ? Thank you...
For example:
Total: 7,07
Tendered: 10
Change Due: 2
It shoul be
Total: 7,07
Tendered: 10,00
Change Due: 2,93
http://forum2.sambapos.org/index.php?topic=218.msg1144#msg1144Add Change Due & Tendered to Receipt Template
Settings -> Printer Templates -> {Select your receipt template} -> Edit Printer Template
- Add the following into the Footer Template section (format as required)
<J00>Tendered|${TICKETTAG:Tendered}
<J00>Change Due|${TICKETTAG:Change Due}
Add new Action Ticket Tag - Amount Tendered
Settings -> Actions -> Add Action
- Action Name = Ticket Tag - Tendered
- Action Type = Update Ticket Tag
- Tag Name = Tendered
- Tag Value = [Setting Value]
Add new Action Ticket Tag - Change Due
Settings -> Actions -> Add Action
- Action Name = Ticket Tag - Change Due
- Action Type = Update Ticket Tag
- Tag Name = Change Due
- Tag Value = [Setting Value]
Add new Rule for Reset Change Due & Tendered - If this Rule exists, don't add it again
Settings -> Rules -> Add Rule
- Rule Name = Reset Change Due and Tendered
- Event Name = Ticket Created
- Actions
- Update Tendered Amount - Setting Value = 0
- Update Change Due - Setting Value = 0
Add new Rule for Update Change Due & Tendered - If this Rule exists just edit the Rule and add the last two Actions.
Settings -> Rules -> Add Rule
- Rule Name = Update Change Due and Tendered
- Event Name = Change Amount Updated
- Actions
- Update Tendered Amount - Setting Value = [TenderedAmount]
- Update Change Due - Setting Value = [ChangeAmount]
- Ticket Tag - Tendered - Setting Value = [TenderedAmount]
- Ticket Tag - Change Due - Setting Value = [ChangeAmount]
Add new Rule for no Change Due
Settings -> Rules -> Add Rule
- Rule Name = No Change Due
- Event Name = Payment Received
- Conditions
- Setting Check - TENDERED = 0
- Actions
- Update Tendered Amount - Setting Value = [Amount]
- Ticket Tag - Tendered - Setting Value = [Amount]
- Ticket Tag - Change Due - Setting Value = 0.00