{assign var=title value="Payments"} {include file="admin/header.inc.html"}

{$title}

Search by date
From: {html_select_date time=$beg_date prefix=beg_date start_year=-2 all_extra="onclick=\"sw1(this.form, 'date')\" onfocus=\"sw1(this.form, 'date')\""} To: {html_select_date time=$end_date prefix=end_date start_year=-2 all_extra="onclick=\"sw1(this.form, 'date')\" onfocus=\"sw1(this.form, 'date')\""}
Search by string
Search
Display completed payments only            List payments by

{span}

{counter name=count start=0 skip=0 print=false} {assign var=amount value=0} {foreach from=$list item=p} {math equation="a+y" a=$amount y=$p.amount assign=amount} {counter name=count print=false} {foreachelse} {/foreach} {if $all_count > 20 } {/if}
# {$list_by_title} Member Product Period Payment System Receipt # Amount Paid  
{$p.payment_id}  {$p.$list_by_field|date_format:$config.time_format} {$p.member_login} {$p.product_title} {$p.begin_date|date_format:$config.date_format} - {$p.expire_date|date_format:$config.date_format} {$p.paysys_id}  {$p.receipt_id}  {$p.amount}  {if $p.completed}YES{else}NO{/if} Edit Del

No payments found. Try to select different criteria.

{counter name=count skip=0} displayed TOTAL {$amount|string_format:"%.2f"}     
{$all_count} records found GRAND TOTAL {$all_amount|string_format:"%.2f"}     

{span} {include file="admin/footer.inc.html"}