#SET("LineItemNo", #LineItemNo + 1) #LineItemNo {PaymentMethod} #IF(#PaymentMethod)#PaymentMethod.NameOrAlias#ELSE#Name#ENDIF #IF(#DisplayTransID)
{TransID}: #IF(#INPUT.ViewAction EQ "UnityMBO-ViewGeneral" AND #LineItemContainer.Parent.Class.Alias EQ "CustomerOrder") #DisplayTransID #ELSE #DisplayTransID #ENDIF #ENDIF #INCLUDE("INC-IsTestTransaction") #IF(NOT #Order.PaidOn AND NOT #Order.PartlyPaidOn AND #LineItemContainer.Payment.PaymentMethod.Note)
#LineItemContainer.Payment.PaymentMethod.Note[0]
#ENDIF #IF(#INPUT.ViewAction EQ "UnityMBO-ViewGeneral") #LOOP( #OrderInfoJSON.purchase_units ) #IF( #payments.refunds )
{RefundedPaymentsLabelOrderDetailPage}
#LOOP( #payments.refunds ) - #amount.value[money]
#ENDLOOP
#ENDIF #ENDLOOP #IF(#PayViaPUI) #IF( #OrderInfoJSON.status EQ "PENDING_APPROVAL" ) {InvoicePendingApproval} #ELSIF( #OrderInfoJSON.status EQ "DECLINED" ) {InvoiceDeclined} #ELSIF( #OrderInfoJSON.status EQ "COMPLETED" AND #OrderInfoJSON.payment_source.pay_upon_invoice.payment_reference AND #OrderInfoJSON.payment_source.pay_upon_invoice.deposit_bank_details) {InvoiceCaptured}
{InvoicePaymentReference}
#OrderInfoJSON.payment_source.pay_upon_invoice.payment_reference

{InvoiceBankDetails}
#OrderInfoJSON.payment_source.pay_upon_invoice.deposit_bank_details.account_holder_name
#OrderInfoJSON.payment_source.pay_upon_invoice.deposit_bank_details.iban
#OrderInfoJSON.payment_source.pay_upon_invoice.deposit_bank_details.bank_name
#OrderInfoJSON.payment_source.pay_upon_invoice.deposit_bank_details.bic
#ENDIF #ENDIF #ENDIF #IF(#MENU_COUNT("DelayedSettlementLink")) #MENU("DelayedSettlementLink") #INCLUDE(#Template) #ENDMENU #ENDIF #IF(NOT #IsUnityEmailConfirmation) #ENDIF #IF(#HasDiscounts)#ENDIF #IF(#LineItemPrice)#LineItemPrice[money]#ENDIF