{extends file="layout.tpl"} {* Security *} {block name="no-return-functions" prepend} {check_auth role="CUSTOMER" login_tpl="login"} {/block} {* Body Class *} {block name="body-class"}page-order-payment{/block} {* Breadcrumb *} {block name='no-return-functions' append} {$breadcrumbs = [ ['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}], ['title' => {intl l="Secure Payment"}, 'url'=>{url path="/order/pay"}] ]} {/block} {block name="main-content"}

# {intl l="Your Cart"}

{include file="misc/checkout-progress.tpl" step="last"} {loop type="order" name="placed-order" id=$placed_order_id} {ifhook rel="order-placed.body"} {hook name="order-placed.body" module="$PAYMENT_MODULE"} {/ifhook} {elsehook rel="order-placed.body"}

### {intl l="You choose"} : {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}

### {intl l="Thank you for the trust you place in us."}

{intl l="A summary of your order has been sent to the following address"} : {customer attr="email"}

{intl l="Your order will be confirmed by us upon receipt of your payment."}

{ifloop rel="customer.orders"}

{intl l="Order number"} | {intl l="Seller"} | {intl l="Amount"} | {intl l="Status"} | {intl l="View"}
--- | --- | --- | --- | ---
{loop type="order" name="customer.orders" id=$ID} {loop type="ampseller_order" name="seller-order" order_id=$ID}
{$REF} | {$AMP_SELLER_NAME} | {format_money number=$TOTAL_TAXED_AMOUNT_POSTAGE currency_id=$CURRENCY} | {loop type="order-status" name="order.status" id={$STATUS}} {assign "orderStatusCode" "order_$CODE"} {if #$orderStatusCode# == ''} {assign "defaultLabel" "label-default"} {assign "orderStatusLabel" $CODE} {else} {assign "defaultLabel" ''} {assign "orderStatusLabel" #$orderStatusCode#} {/if} {$TITLE} {/loop} | {intl l="Order details"}
{/loop}
{intl l="Order total amount"} | {format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY} |
{/loop}

{/ifloop} {block name='additional-payment-info'}{/block} {hook name="order-placed.additional-payment-info" module="$PAYMENT_MODULE" placed_order_id=$placed_order_id}
{/elsehook} {/loop} {intl l="Go home"}
{/block} {block name="stylesheet"} {hook name="order-placed.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="order-placed.after-javascript-include"} {/block} {block name="javascript-initialization"} {hook name="order-placed.javascript-initialization"} {/block}