{include file="header.html"}

{$layout.pagetitle}

{if $receipt.receipt} {/if} {if $receipt.receipt2} {/if} {include file="calendar_js.html"}
{if $listdata.total != 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.total != 0} {/if}
{trans("Date:")} {if $listdata.order eq "cdate"}{/if}
{trans("User:")} {if $listdata.order eq "user"}{/if}
{trans("Number:")} {if $listdata.order eq "number"}{/if} {trans("Income:")} {trans("Expense:")} {trans("For:")} {if $listdata.order eq "name"}{/if} {trans("Title:")} {trans("New Cash-in Receipt")}
{trans("New Cash-out Receipt")}
{trans("Filter:")}     {trans("Period:")}  {trans("from")}  {trans("to")}     »»»
{include file="scroller.html" loop=$receiptlist scrollerno=1}
{if !$receipt.closed}{/if} {$receipt.cdate|date_format:"%Y/%m/%d %H:%M"}
{$receipt.user|truncate:"16":"...":true} {if !$receipt.closed}
{/if}
{$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} {if !$receipt.closed} [ {trans( {/if} [ {trans( [ {trans( [ {trans(

 

{trans("No such receipts in database.")}

 

{include file="scroller.html" loop=$receiptlist scrollerno=2}
{trans("Print")}    
{trans("Total:")}
{trans("Initial balance:")}
{trans("Final balance:")}
{$listdata.totalincome|money_format}
{$listdata.startbalance|money_format}
{$listdata.endbalance|money_format}
{$listdata.totalexpense|money_format}

{trans("Cash state:")} {$listdata.cashstate|money_format}

{trans("Cash history")}   {trans("New Cash-in Receipt")}   {trans("New Cash-out Receipt")}
{if $logentry}

{trans("Cash History Last Entry:")} {$logentry.time|date_format:"%x %H:%M"}   {if $logentry.value<0}{/if}{$logentry.value|money_format}{if $logentry.value<0}{/if} ({trans("Cash state:")} {$logentry.snapshot|money_format})   {$logentry.description}

{/if} {include file="footer.html"}