{include file="header.html"}

{$layout.pagetitle}

{if $docid}{/if} {literal} {/literal} {include file="calendar_js.html"}
{if $listdata.total != 0} {/if} {cycle values="light,lucid" print=false} {section loop=$documentlist name=documentlist start=$start max=$pagelimit} {assign var=doc value=$documentlist[documentlist]} {assign var=docid value=$doc.docid} {sectionelse} {/section} {if $listdata.total != 0} {/if}
{t}Date:{/t}{if $listdata.order eq "cdate"}{/if}
{t}Number:{/t}
{t}Type:{/t}{if $listdata.order eq "type"}{/if} {t}Title:{/t}{if $listdata.order eq "title"}{/if}
{t}Period:{/t}
{t}Customer:{/t}{if $listdata.order eq "customer"}{/if} {t}New Document{/t}
{t}Filter:{/t} {t}Customer:{/t} {if $customerlist} {else} {t}Search{/t} »»» {/if}  {t}Type:{/t}   {t}Period:{/t}  {t}from{/t}  {t}to{/t}   »»» 
{include file="scroller.html" loop=$documentlist}
{$doc.cdate|date_format:"%Y/%m/%d"} {if $doc.number}
{number number=$doc.number template=$doc.template time=$doc.cdate} {/if}
{assign var=type value=$doc.type}{$_DOCTYPES.$type} {$doc.title|truncate:40:"...":true} {if $doc.fromdate || $doc.todate}
{if $doc.fromdate}{t}from{/t} {$doc.fromdate|date_format:"%Y/%m/%d"}{/if} {if $doc.todate}{t}to{/t} {$doc.todate|date_format:"%Y/%m/%d"}{/if} {/if}
{$doc.name|truncate:40:"...":true} {assign var=type value=$doc.type} [ {t}Save{/t} ] {if ! $doc.closed && ($docrights.$type.rights & 4)} [ {t}Confirm{/t} ] {/if} {if ($docrights.$type.rights & 16)} [ {t}Delete{/t} ] {/if} {if ($docrights.$type.rights & 8)} [ {t}Edit{/t} ] {/if} [ {t}View{/t} ]

 

{t}No such documents matching search criteria or list is empty.{/t}

 

{include file="scroller.html" loop=$documentlist}
{t}Print{/t} {t}Print{/t}  {t}Confirm{/t} {t}Confirm{/t}  {t}Delete{/t} {t}Delete{/t} {t}Check All{/t}
{include file="footer.html"}