{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, {$config.currency|default:"$"} | 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|amember_date_format} - {$p.expire_date|amember_date_format:$config.date_format} | {lookup arr=$paysystems key=$p.paysys_id} | {$p.receipt_id} | {$config.currency|default:"$"}{$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}
{if $p.data.CANCELLED} CANCELLED{/if} {if $p.cancel_url && $p.completed} Stop Recurring{/if} |
Edit Del |
ADD NEW PAYMENT/SUBSCRIPTION |