{assign var=title value="Payments"} {include file="admin/header.inc.html"}
# | {$list_by_title} | Member | Product | Period | Payment System | Receipt # | Amount | {if $config.use_tax}Tax amount | {/if}Paid | Status | |
---|---|---|---|---|---|---|---|---|---|---|---|
{$p.payment_id} | {$p.$list_by_field|date_format:$config.time_format} | {$p.member_login|escape} | {$p.product_title|escape} | {$p.begin_date|amember_date_format} - {$p.expire_date|amember_date_format} | {$p.paysys_id} | {$p.receipt_id} | {$p.amount} | {if $config.use_tax}{$p.tax_amount} | {/if}{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} |
Edit Del | {math equation="a+y" a=$amount y=$p.amount assign=amount} {math equation="a+y" a=$tax_amount y=$p.tax_amount assign=tax_amount} {if $p.coupon_id > 0}{math equation="a+y" a=$coupons_amount y=$p.amount assign=coupons_amount}{/if}
No payments found. Try to select different criteria. |
|||||||||||
{counter name=count skip=0} displayed | TOTAL | {$amount|string_format:"%.2f"} | {if $config.use_tax}{$tax_amount|string_format:"%.2f"} | {/if}||||||||
{counter name=coupons_count skip=0} displayed | COUPONS TOTAL | {$coupons_amount|string_format:"%.2f"} | {if $config.use_tax}{/if} | ||||||||
{$all_count} records found | GRAND TOTAL | {$all_amount|string_format:"%.2f"} | {if $config.use_tax}{$all_tax_amount|string_format:"%.2f"} | {/if}