cancel
Showing results for 
Search instead for 
Did you mean: 

In standard Data set receipt, i don't find the Balance amount of the voucher.

dake
Explorer
0 Kudos
284

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

View Entire Topic
0 Kudos

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

former_member237414
Contributor
0 Kudos

Dear Daniele,

we have done this before, I personally think your suggestion/idea is very helpful and customer orientated.

Drop me a message if you need some development support,

Julian