{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} LMS {$layout.lmsv} @ {$layout.hostname}
{$smarty.now|date_format:"%A, %x"}
{t 0=$layout.logname}Created by: $0{/t}
{foreach item=tax from=$taxes} {if $tax.value} {/if} {/foreach} {cycle values="grey,white" print=false} {math assign=start equation="(x-1)*y" x=$item y=$rows} {section name=invoicelist loop=$invoicelist start=$start max=$rows} {foreach item=tax from=$taxes} {assign var=taxid value=$tax.id} {if $tax.value} {/if} {/foreach} {/section} {foreach item=tax from=$taxes} {assign var=taxid value=$tax.id} {if $tax.value} {/if} {/foreach} {foreach item=tax from=$taxes} {assign var=taxid value=$tax.id} {if $tax.value} {/if} {/foreach} {foreach item=tax from=$taxes} {assign var=taxid value=$tax.id} {if $tax.value} {/if} {/foreach}
{t}No.{/t} {t}Invoice No.{/t}
{t}Draw-up date{/t}
{t}Sale date{/t}
{t}Deadline{/t}
{t}Contractor{/t} {t}Gross value{/t} {t}Net value{/t}
{$tax.label}
{t}Tax value{/t}
{$tax.label}
{t}Total Tax{/t}
{counter} {$invoicelist[invoicelist].number}
{$invoicelist[invoicelist].cdate|date_format:"%Y/%m/%d"}
{if $invoicelist[invoicelist].sdate}{$invoicelist[invoicelist].sdate|date_format:"%Y/%m/%d"}{else}{$invoicelist[invoicelist].cdate|date_format:"%Y/%m/%d"}{/if}
{$invoicelist[invoicelist].pdate|date_format:"%Y/%m/%d"}
{$invoicelist[invoicelist].custname} ({$invoicelist[invoicelist].customerid|string_format:"%04d"}) {if $invoicelist[invoicelist].ten}{$invoicelist[invoicelist].ten}{/if}
{$invoicelist[invoicelist].custaddress}
{$invoicelist[invoicelist].brutto|string_format:"%01.2f"} {$invoicelist[invoicelist].$taxid.val|string_format:"%01.2f"} {$invoicelist[invoicelist].$taxid.tax|string_format:"%01.2f"} {$invoicelist[invoicelist].tax|string_format:"%01.2f"}
{t}Page total:{/t} {$totals.$item.total|string_format:"%01.2f"} {$totals.$item.val.$taxid|string_format:"%01.2f"} {$totals.$item.tax.$taxid|string_format:"%01.2f"} {$totals.$item.sumtax|string_format:"%01.2f"}
{t}Transfered from previous page:{/t} {$totals.$previtem.alltotal|string_format:"%01.2f"} {$totals.$previtem.allval.$taxid|string_format:"%01.2f"} {$totals.$previtem.alltax.$taxid|string_format:"%01.2f"} {$totals.$previtem.allsumtax|string_format:"%01.2f"}
{t}Total from start of period:{/t} {$totals.$item.alltotal|string_format:"%01.2f"} {$totals.$item.allval.$taxid|string_format:"%01.2f"} {$totals.$item.alltax.$taxid|string_format:"%01.2f"} {$totals.$item.allsumtax|string_format:"%01.2f"}
{foreachelse}
{$layout.pagetitle} LMS {$layout.lmsv} @ {$layout.hostname}
{$smarty.now|date_format:"%A, %x"}
{t 0=$layout.logname}Created by: $0{/t}
{foreach item=tax from=$taxes} {if $tax.value} {/if} {/foreach}
{t}No.{/t} {t}Invoice No.{/t}
{t}Draw-up date{/t}
{t}Sale date{/t}
{t}Deadline{/t}
{t}Contractor{/t} {t}Gross value{/t} {t}Net value{/t}
{$tax.label}
{t}Tax value{/t}
{$tax.label}
{t}Total Tax{/t}

 

{t}No such invoices in selected time period.{/t}

 

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