{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 a=$item b=$pagescount}Page $a from $b{/t}){/if} LMS {$layout.lmsv} @ {$layout.hostname}
{$smarty.now|date_format:"%A, %x"}
{t a=$layout.logname}Created by: $a{/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}
{trans("No.")} {trans("Invoice No.")}
{trans("Draw-up date")}
{trans("Sale date")}
{trans("Deadline")}
{trans("Contractor")} {trans("Gross value")} {trans("Net value")}
{$tax.label}
{trans("Tax value")}
{$tax.label}
{trans("Total Tax")}
{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"}
{trans("Page total:")} {$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"}
{trans("Transfered from previous page:")} {$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"}
{trans("Total from start of period:")} {$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 a=$layout.logname}Created by: $a{/t}
{foreach item=tax from=$taxes} {if $tax.value} {/if} {/foreach}
{trans("No.")} {trans("Invoice No.")}
{trans("Draw-up date")}
{trans("Sale date")}
{trans("Deadline")}
{trans("Contractor")} {trans("Gross value")} {trans("Net value")}
{$tax.label}
{trans("Tax value")}
{$tax.label}
{trans("Total Tax")}

 

{trans("No such invoices in selected time period.")}

 

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