Rules and Actions as follows - Taken from
http://forum2.sambapos.org/index.php/topic,218.msg1144.html#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 Update Change Due & Tendered
Settings -> Rules -> Add Rule
- Rule Name = Update Change Due and Tendered
- Event Name = Change Amount Updated
- Actions
- 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