{foreach from=$orders item=order} {if $order.status != 'cancel'} {else} {/if} {/foreach} {if $total_due > 0} {/if}
ORDER # ITEM AMOUNT PURCHASED NEXT DUE OPTIONS
{$order.uniq_id} {$order.title} {if $order.quantity > 1} x {$order.quantity} @ {$config.currency.char}{$order.amount} ea{/if} {$config.currency.char}{$order.grand_total}{$order.date_purchased} {if $order.status == 'due' || $order.recurring > 0}{$order.payment_due}{else}-{/if} {if $order.status == 'due' || $order.recurring} pay now {if $order.recurring > 0} Cancel Service {/if} {else} PAID {/if} [CANCEL: {$order.payment_due}]
Total Paid {$config.currency.char}{$total_paid} {$config.currency.code}
Total Past Due {$config.currency.char}{$total_due} {$config.currency.code}