on 2018 Sep 10 8:26 AM
Dear all,
I have installed the last version of CCO PL06 About the tickets layout ( Template ) I have questions:
2) When i payed with a voucher, In the standard Data set reciept (SalesReceiptPrintTemplateJPOS.ftl ) I don't find the "Balance amount of the voucher", I have only the "Original a mount" . How can i have it?
Thanks.
Regards,
Daniele
Request clarification before answering.
Hi Daniele,
currently there is no easy way to display the remaining amount.
If you like to give it a try you could try to get the voucher from the payment item (paymentItem.voucher).
This voucher object has a list of "redeemItems". Each redeem item has a "cashedInAmount". If you now start subtracting these amounts from the "originAmount" of the voucher (paymentItem.voucher), you will get the current valid amount.
Regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.