<%IF $Shop.payment_per_month AND $payment_per_month_price THEN /* partial payment */ POP $kp POP $this_kp /* Find and calculate lowest kreditor price */ IF $Price_Tax>$Shop.payment_per_month_min_sum THEN QUERY Payment() DO DISPLAY $this_kp=CALL PAYMENT_MONTHLY_ANNUITY('Payment',$payment_per_month_price,$payment_per_month_tax) IF $this_kp AND (NOT $kp OR $this_kp < $kp) THEN $kp = $this_kp ENDIF NEXTROW ENDQUERY ENDIF /* Display price data */ IF $kp THEN%> [%FROM Från%] $$kp / mnd. <%IF NOT $hide_klarna_conditions THEN $show_klarna_account=1 INCLUDE 'klarna_conditions.htm' ENDIF %> <%ENDIF /* END kreditor partial payment */ ENDIF%>