{include file="clearheader.html"}

{$layout.pagetitle} {if $layout.username}
{$layout.username}{/if} {if $layout.registry}
{$layout.registry}{/if} {if $layout.group}
{$layout.group}{/if}

LMS {$layout.lmsv} @ {$layout.hostname}
{$smarty.now|date_format:"%A, %x"}
{t 0=$layout.logname}Prepared by: $0{/t}
{cycle values="white,grey" print=false} {section name=receiptlist loop=$receiptlist} {sectionelse} {/section}
{t}No.{/t} {t}Date{/t} {t}Number{/t} {t}Customer{/t} {t}Title{/t} {t}Income{/t} {t}Expense{/t} {t}After{/t}
{counter} {$receiptlist[receiptlist].cdate|date_format:"%Y/%m/%d"} {$receiptlist[receiptlist].number} {$receiptlist[receiptlist].customer} {foreach from=$receiptlist[receiptlist].title item=title} {$title}
{/foreach}
{if $receiptlist[receiptlist].value > 0}{$receiptlist[receiptlist].value|money_format}{else}-{/if} {if $receiptlist[receiptlist].value < 0}{$receiptlist[receiptlist].value*-1|money_format}{else}-{/if} {$receiptlist[receiptlist].after|money_format}

 

{t}No such cash receipts in database.{/t}

 

{t}Total:{/t}
{t}Initial balance:{/t}
{t}Final balance:{/t} {if $listdata.advances}
{t}Not accounted advances:{/t}{/if}
{$listdata.totalincome|money_format}
{$listdata.startbalance|money_format}
{$listdata.endbalance|money_format} {if $listdata.advances}
{$listdata.advances|money_format}{/if}
{$listdata.totalexpense|money_format}
{include file="clearfooter.html"}