{include file="header.html"}

{$layout.pagetitle}

{if $newreceipt} {/if} {include file="calendar_js.html"} {literal} {/literal}
{if $listdata.totalpos != 0} {/if} {cycle values="light,lucid" print=false} {section name=receiptlist loop=$receiptlist start=$start max=$pagelimit} {assign var=receipt value=$receiptlist[receiptlist]} {assign var=receiptid value=$receipt.id} {sectionelse} {/section} {if $listdata.totalpos != 0} {/if}
{t}Date:{/t} {if $listdata.order eq "cdate"}{/if}
{t}User:{/t} {if $listdata.order eq "user"}{/if}
{t}Number:{/t} {if $listdata.order eq "number"}{/if} {t}Income:{/t} {t}Expense:{/t} {t}For:{/t} {if $listdata.order eq "name"}{/if} {t}Title:{/t} {t}New Cash-in Receipt{/t}
{t}New Cash-out Receipt{/t}
{t}Filter:{/t}     {t}Period:{/t}  {t}from{/t}  {t}to{/t}   »»»
{t}Page:{/t} {if $page > 1} «««{else}«««{/if} {section name=pcnt loop=$receiptlist step=$pagelimit}{if $page eq $smarty.section.pcnt.rownum}[{else} {/if}{$smarty.section.pcnt.rownum}{if $page eq $smarty.section.pcnt.rownum}]{else} {/if}{/section} {if $page < $smarty.section.pcnt.rownum}»»»{else}»»»{/if} {math equation="x + 1" x=$start assign=startx} {if $start + $pagelimit > $listdata.totalpos} {assign var=endx value=$listdata.totalpos}{else}{math equation="x + y" x=$start y=$pagelimit assign=endx} {/if} ({t 0=$startx 1=$endx 2=$listdata.totalpos}records $0 - $1 of $2{/t})
{$receipt.cdate|date_format:"%Y/%m/%d %H:%M"}
{$receipt.user|truncate:"16":"...":true}
{$receipt.number} {if $receipt.value > 0}{$receipt.value|money_format}{else}-{/if} {if $receipt.value < 0}{$receipt.value*-1|money_format}{else}-{/if} {if $receipt.customerid}{/if} {$receipt.customer|truncate:"60":"...":true} {if $receipt.customerid}{/if} {if $receipt.title} {$receipt.title|truncate:"80":"...":true} {/if} [ {t}Print{/t} ] [ {t}Edit{/t} ] [ {t}Delete{/t} ] {cycle print=false}

 

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

 

{t}Page:{/t} {if $page > 1} «««{else}«««{/if} {section name=pcnt loop=$receiptlist step=$pagelimit}{if $page eq $smarty.section.pcnt.rownum}[{else} {/if}{$smarty.section.pcnt.rownum}{if $page eq $smarty.section.pcnt.rownum}]{else} {/if}{/section} {if $page < $smarty.section.pcnt.rownum}»»»{else}»»»{/if} {math equation="x + 1" x=$start assign=startx} {if $start + $pagelimit > $listdata.totalpos} {assign var=endx value=$listdata.totalpos}{else}{math equation="x + y" x=$start y=$pagelimit assign=endx} {/if} ({t 0=$startx 1=$endx 2=$listdata.totalpos}records $0 - $1 of $2{/t})
{t}Print{/t}   {t}original{/t}  {t}copy{/t} {t}Check All{/t}
{t}Total:{/t}
{t}Initial balance:{/t}
{t}Final balance:{/t}
{$listdata.totalincome|money_format}
{$listdata.startbalance|money_format}
{$listdata.endbalance|money_format}
{$listdata.totalexpense|money_format}

{t}Cash state:{/t} {$listdata.cashstate|money_format}

{t}New Cash-in Receipt{/t}   {t}New Cash-out Receipt{/t}
{include file="footer.html"}