#LOCAL("IsActive", #INPUT.ViewAction EQ "ViewPaymentKlarnaInvoice") #IF(#PaymentMethod.Class.Alias EQ "PaymentMethodKlarnaHirePurchase") #SET("IsActive",#INPUT.ViewAction EQ "ViewPaymentKlarnaHirePurchase") #ELSIF(#PaymentMethod.Class.Alias EQ "PaymentMethodKlarnaFinancing") #SET("IsActive",#INPUT.ViewAction EQ "PaymentMethodKlarnaFinancing") #ELSE #SET("IsActive",0) #ENDIF #SET("ItemCount", #ItemCount+1)