{template_event name="quiqqer::erpAccountingTemplate::body::begin" entityType=$entityType}
{if !empty($projectName)}

{locale group="quiqqer/erp-accounting-templates" var="body.project"}: {$projectName}

{/if} {if $this->getAttribute('order_date')}

{locale group="quiqqer/erp-accounting-templates" var="body.orderDate"}: {$this->formatDate($this->getAttribute('order_date'))}

{/if} {if $this->getAttribute('ordered_by')}

{locale group="quiqqer/erp-accounting-templates" var="body.orderedBy"}: {$this->getAttribute('ordered_by_name')}

{/if}
{template_event name="quiqqer::erp-accounting-templates::invoiceDataEnd" InvoiceView=$this}
{$ArticleList->toHTML()}
{if $this->getAttribute('sum') != 0} {if !empty($transaction)} {$transaction} {/if}
{locale group="quiqqer/invoice" var="additional.invoice.text.paymentMethod"}: {$Payment->getTitle()} {if $Payment->getInvoiceInformationText($this) !== ''}
{$Payment->getInvoiceInformationText($this)} {/if} {/if}
{if !empty($globalInvoiceText)}
{$globalInvoiceText}
{/if} {if !empty($this->getAttribute('additional_invoice_text'))}
{$this->getAttribute('additional_invoice_text')}
{/if}
{template_event name="quiqqer::erpAccountingTemplate::body::begin" entityType=$entityType}