{assign var=title value="User Payments/Subscriptions"} {include file="admin/header.inc.html"} {include file="admin/user_nb.inc.html" selected="payments"}
Product | Period | Payment System | Receipt # | Amount, $ | Paid | Status | |
---|---|---|---|---|---|---|---|
{if (not $p.completed)} {if ($p.items_count > 1)} {$config.multi_title} ({$p.items_count} items) {else} {lookup arr=$products key=$p.product_id} {/if} {else} {* completed *} {if ($p.items_count > 1)} {lookup arr=$products key=$p.product_id} {else} {lookup arr=$products key=$p.product_id} {/if} {/if} | {$p.begin_date|date_format:$config.date_format} - {$p.expire_date|date_format:$config.date_format} | {lookup arr=$paysystems key=$p.paysys_id} | {$p.receipt_id} | ${$p.amount} | {if $p.completed}YES{else}NO{/if} | {if $p.completed} {if $p.expire_date >= date('Y-m-d') and $p.begin_date <= date('Y-m-d') } Active {elseif $p.expire_date < date('Y-m-d') } Expired {elseif $p.begin_date > date('Y-m-d') } Future {/if} {else} Not-Paid {/if} | Edit Del |
ADD NEW PAYMENT/SUBSCRIPTION |