{if $isEmpty} {locale group="quiqqer/customer" var="OpenItemsList.no_open_items"} {else}

{locale group="quiqqer/customer" var="OpenItemsList.tbl.header.date"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.document_no"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.amount_net"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.amount_vat"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.amount_sum"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.last_payment"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.amount_paid"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.amount_due"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.days_due"} | {locale group="quiqqer/customer" var="OpenItemsList.tbl.header.dunning_level"}
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{foreach $this->getItems() as $Item}
{$Item->getDateFormatted()} | {$Item->getDocumentNo()} | {$Item->getAmountTotalNetFormatted()} | {$Item->getAmountTotalVatFormatted()} | {$Item->getAmountTotalSumFormatted()} | {if $Item->getLastPaymentDate()} {$Item->getLastPaymentDateFormatted()} {else} --- {/if} | {$Item->getAmountPaidFormatted()} | {$Item->getAmountOpenFormatted()} | {$Item->getDaysDue()} | {if $Item->getDunningLevel()} {$Item->getDunningLevel()} {else} --- {/if}
{/foreach}
{locale group="quiqqer/customer" var="OpenItemsList.tbl.sums"}
{foreach $this->getTotalAmountsByCurrency() as $entry}
|  | {$entry['netTotalFormatted']} | {$entry['vatTotalFormatted']} | {$entry['sumTotalFormatted']} |  | {$entry['paidTotalFormatted']} | {$entry['dueTotalFormatted']} |  |
{/foreach}

{/if}