{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content}

{$layout.pagetitle}

{if $pagination->getTotal() != 0} {/if} {foreach $notelist as $note} {assign var=noteid value=$note.id} {number number=$note.number template=$note.template time=$note.cdate assign=number customerid=$note.customerid} {foreachelse} {/foreach} {if $pagination->getTotal() != 0} {/if}
{trans("ID:")} {if $listdata.order == "id"}{/if} {trans("Date:")} {if $listdata.order == "cdate"}{/if} {trans("Number:")} {if $listdata.order == "number"}{/if} {trans("Value:")} {if $listdata.order == "value"}{/if} {trans("Items:")} {if $listdata.order == "count"}{/if} {trans("For:")} {if $listdata.order == "name"}{/if}  
{trans("Filter:")}     {trans("Group:")}  »»»
{include file="pagination.html"}
{$note.id|string_format:"%06d"} {$note.cdate|date_format:"%Y/%m/%d %H:%M"} {$number} {moneyf($note.value, $note.currency)} {$note.count} {$note.name}, {$note.address}, {$note.zip} {$note.city}{if $note.country != ""}, {t}{$note.country}{/t}{/if} {if !$note.closed} {if !$note.archived && (!$note.published || ConfigHelper::checkPrivilege('published_document_modification'))} {button type="link" icon="delete" tip="Delete" class="delete-note" href="?m=notedel&id={$note.id}"} {button type="link" icon="edit" tip="Edit" class="edit-note" href="?m=noteedit&id={$note.id}&action=edit"} {/if} {/if} {if !$note.cancelled} {if !$note.archived && (!$note.published || ConfigHelper::checkPrivilege('published_document_modification'))} {button type="link" icon="cancel" tip="Cancel" class="cancel-note" href="?m=notecancel&id={$note.id}"} {/if} {else} {button type="link" icon="back" tip="Recover" class="recover-note" href="?m=notecancel&id={$note.id}&recover=1"} {/if} {if !$note.cancelled} {if !$note.archived} {if ConfigHelper::checkPrivilege('trade_document_archiving')} {button type="link" icon="archive" tip="Archive" href="?m=notearchive&id={$note.id}"} {/if} {else} {if ConfigHelper::checkPrivilege('trade_document_unarchiving')} {button type="link" icon="restore" tip="Unarchive" href="?m=noteunarchive&id={$note.id}"} {/if} {/if} {/if} {if !$note.published || ConfigHelper::checkPrivilege('published_document_modification')} {button type="link" icon="view" tip="Preview" external=true href="?m=note&id={$note.id}&dontpublish=1"} {/if} {button type="link" icon="print" tip="Print" external=true href="?m=note&id={$note.id}"}
{trans("No such debit notes in database.")}
{include file="pagination.html"}
{button icon="cash" label="Check/Uncheck as accounted" id="account-notes"} {if ConfigHelper::checkPrivilege('trade_document_archiving')} {button icon="archive" id="archive-notes" label="Archive"} {/if} {if ConfigHelper::checkPrivilege('trade_document_unarchiving')} {button icon="restore" id="unarchive-notes" label="Unarchive"} {/if} {button icon="print" label="Print" id="print-notes"}
{/block}