{include file="clearheader.html" landscape=true} {foreach from=$pages item=item} {assign var=previtem value=$item-1} 1} style="page-break-before: always; border-style: none;"{/if}>
{$layout.pagetitle}{if $pagescount} ({t 0=$item 1=$pagescount}Page $0 from $1{/t}){/if}
{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}Created by: $0{/t}
{cycle values="white,grey" print=false} {section name=receiptlist loop=$receiptlist start=$totals.$item.rowstart max=$totals.$item.rows} {/section}
{t}No.{/t} {t}Number{/t}
{t}Date{/t}
{t}Customer{/t} {t}Title{/t} {t}Income{/t} {t}Expense{/t} {t}After{/t}
{counter} {$receiptlist[receiptlist].number}
{$receiptlist[receiptlist].cdate|date_format:"%Y/%m/%d"}
{$receiptlist[receiptlist].name} {if $receiptlist[receiptlist].customerid}({$receiptlist[receiptlist].customerid|string_format:"%04d"}){/if}
{$receiptlist[receiptlist].zip} {$receiptlist[receiptlist].city} {$receiptlist[receiptlist].address}
{foreach from=$receiptlist[receiptlist].title item=title} {$title|truncate:"100":"":true}
{/foreach}
{if $receiptlist[receiptlist].value > 0}{$receiptlist[receiptlist].value|string_format:"%.2f"}{else}-{/if} {if $receiptlist[receiptlist].value < 0}{$receiptlist[receiptlist].value*-1|string_format:"%.2f"}{else}-{/if} {$receiptlist[receiptlist].after|string_format:"%.2f"}
{t}Page total:{/t} {$totals.$item.income|string_format:"%01.2f"} {$totals.$item.expense|string_format:"%01.2f"}
{t}Transfered from previous page:{/t} {$totals.$previtem.totalincome|string_format:"%01.2f"} {$totals.$previtem.totalexpense|string_format:"%01.2f"}
{t}Total from start of period:{/t} {$totals.$item.totalincome|string_format:"%01.2f"} {$totals.$item.totalexpense|string_format:"%01.2f"}
{foreachelse}
{$layout.pagetitle}
{if $layout.username} {$layout.username}{/if} {if $layout.registry} {$layout.registry}{/if}
LMS {$layout.lmsv} @ {$layout.hostname}
{$smarty.now|date_format:"%A, %x"}
{t 0=$layout.logname}Created by: $0{/t}
{t}No.{/t} {t}Number{/t}
{t}Date{/t}
{t}Customer{/t} {t}Title{/t} {t}Income{/t} {t}Expense{/t} {t}After{/t}

 

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

 

{/foreach} {include file="clearfooter.html"}