{t}Select fiscal year and currency{/t}
{t}Fiscal year{/t}: {html_select_date reverse_years=true time=$time start_year=$minYear end_year=$maxYear display_months=false display_days=false prefix=fin_} {t}Currency{/t}:
{if count($cpndetails.details) < 1}
{t}No data matching your search criteria was found.{/t}
{else}
{$FINANCES_INFO} {t escape="0" 1=$curr_name 2=$YEAR 3=$fy_dates.start 4=$fy_dates.end}Amounts invoiced and received in %1, FY %2 (%3-%4){/t}
Billed per customer
Billed/received per month
{if count($cpndetails) > 0} {section name=i loop=$cpndetails.details} {/section} {/if}
{t}Per customer{/t}
{t}Customer{/t} {t escape="0" 1=$YEAR}Invoiced in FY %1{/t} {t escape="0" 1=$YEAR}Received in FY %1{/t} {t}Still unpaid{/t}
{$cpndetails.details[i].cpn_name|wash} {$cpndetails.details[i].sum_billed|phpaga_formatamount} {$cpndetails.details[i].sum_paid|phpaga_formatamount} {$cpndetails.details[i].sum_missing|phpaga_formatamount}
{t}Totals{/t} {$cpndetails.totals.billed|phpaga_formatamount} {$cpndetails.totals.paid|phpaga_formatamount} {$cpndetails.totals.missing|phpaga_formatamount}
{/if}