#IF(#FormError)

{InputError}

{PleaseCorrectErrors}

#ENDIF #SNIPPET("INC-PagerHeader", "ContextObjects", "{Transactions}") #IF(#Pager.OrderBy NE "Kr_InvoiceNo") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "LineItemContainer.Parent.Alias") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "TransTime") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #LOOP(#Pager.Items) #SET("FeeMoney", #CALCULATE(#Klarna_fee / 100)) #SET("AmountMoney", #Amount) #WITH(#LineItemContainer.Parent) #ENDWITH #ENDLOOP #IF(#COUNT(#Pager.Items) == 0) #ENDIF
{Kr_InvoiceNo}{Kr_InvoiceNo}{Kr_InvoiceNo}{OrderAlias}{OrderAlias}{OrderAlias}{Date}{Date}{Date}{PaymentMethod} {Amount} {Status}
#IF( #DEFINED( #Kr_InvoiceNo ) ) {InvoiceNumber}: #Kr_InvoiceNo #ELSIF( #DEFINED( #ReservationNumber ) ) {ReservationNumber}: #ReservationNumber #ENDIF #IF(#IsTestTransaction)({Mode} "{Test}")#ENDIF
#INCLUDE("INC-LinkToOrder") #TransTime[datetime] #IF (#InternalMethod == #KLARNA_INVOICE) {Invoice} #ELSIF (#InternalMethod == #KLARNA_ACCOUNT) {HirePurchase} #ELSIF (#InternalMethod == #KLARNA_FINANCING) {Financing} #ELSE {NoSuchPayment} #ENDIF #Amount[money]#IF(#LastStatus.Alias EQ "ViewedOn") {ViewedOn}#ELSIF(#LastStatus.Alias EQ "CancelledOn") {CancelledOn}#ELSIF(#LastStatus.Alias EQ "InProcessOn") {InProcessOn}#ELSIF(#LastStatus.Alias EQ "PendingOn") {PendingOn}#ELSIF(#LastStatus.Alias EQ "ReadyForShippingOn") {ReadyForShippingOn}#ELSIF(#LastStatus.Alias EQ "DispatchedOn") {DispatchedOn}#ELSIF(#LastStatus.Alias EQ "PartlyDispatchedOn") {PartlyDispatchedOn}#ELSIF(#LastStatus.Alias EQ "ShippedOn") {ShippedOn}#ELSIF(#LastStatus.Alias EQ "PartlyInvoicedOn") {PartlyInvoicedOn}#ELSIF(#LastStatus.Alias EQ "InvoicedOn") {InvoicedOn}#ELSIF(#LastStatus.Alias EQ "PartlyPaidOn") {PartlyPaidOn}#ELSIF(#LastStatus.Alias EQ "PaidOn") {Paid}#ELSIF(#LastStatus.Alias EQ "ReturnedOn") {Returned}#ELSIF(#LastStatus.Alias EQ "ClosedOn") {ClosedOn}#ELSIF(#LastStatus.Alias EQ "ArchivedOn") {ArchivedOn}#ELSE #LastStatus.NameOrAlias #ENDIF
{NoMatches}
#SNIPPET("Pager", "ContextObjects", "{Transactions}")
{KlarnaURLAdmin}