I started by setting up the Tendered and Change Amount as per current forum posts, with one amendment:
The print template needs to contain:
Tendered:|£ {SETTING:TENDERED}
Change Due|£ {SETTING:CHANGEDUE}
This is because I'am set up the Rules and Actions to print the receipt before the Close button and it seems that the Ticket Tag for Tendered and Change Amount are not created until the Close button is clicked.
In the Print Job for the Receipt it is set up to Print All Lines and Manual. I deselected Close Ticket as I do not want a duplicate receipt. The button for receipt can be set up in the Payment Screen or POS screen but I only use this button in the POS Screen for reprinting receipts for settled tickets as the output can sometimes be confusing.
Once you have set up Tendered and Change Due, and amended the Receipt Template, these are the other rules and actions created:
Rules
1. Rule Name: Part Payment
Event: Payment Received
Actions: Part Payment Received
Setting Value [Amount]
Payment Type
Setting Value [PaymentType]
2. Rule Name: Receipt Print
Event: Payment Received
Action: Print Receipt Part Payment
Actions:
1. Action Name: Part Payment Received
Event: Update Program Setting
Setting Name: PAIDAMOUNT
Setting Value: [Setting Value]
Update Type: Update
IsLocal: True
2. Action Name: Payment Type
Event: Update Program Setting
Setting Name: PAYMENTTYPE
Setting Value: [Setting Value]
Update Type: Update
IsLocal: True
3. Action Name: Print Receipt Part Payment
Event: Execute Print Job
Job Name: Print Receipt
This works with equal split payments 1/2, 1/3 and 1/4. It works if split by line items. It works for full settlement and paid some cash and some card.
A couple of undesirable issues is reprinting receipts for split amounts - does not work as the payments are not stored on the ticket (although they are listed separately in the database table).
The other issue is if an exact amount is paid the Tendered and Change Amount both print as 0. I have been trying to hide the 0 items with the square brackets but this does not work and I have raised an issue with support for this as it only seems to work for some variables.
Below is an example receipt for a split bill (split by 2 payment £ 8 each), as you can see the Tendered and Change Due are Zero. (Ignore the receipt layout as this is only a copy of an xps file not an actual printout.