{assign var=Logo value=\QUI\ERP\Defaults::getLogo()}
{locale group="quiqqer/erp-accounting-templates" var="header" shopownerAdressShort=QUI\ERP\Defaults::getShortAddress()}
{if $Address} {$Address->getDisplay()} {/if}

{locale group="quiqqer/erp-accounting-templates" var="title.order"}

{if $Customer} {if $Customer->getCustomerNo()} {else} {/if} {/if} {*if $Editor && $Editor->getName() !== ''} {/if*}
{locale group="quiqqer/erp-accounting-templates" var="order.body.id"} {$this->getPrefixedNumber()}
{locale group="quiqqer/erp-accounting-templates" var="body.date"} {$dateFormatted}
{locale group="quiqqer/erp-accounting-templates" var="body.customerId"}{$Customer->getCustomerNo()}{$Customer->getId()}
{locale group="quiqqer/erp-accounting-templates" var="body.editor"} {$Editor->getName()}
{if isset($useShipping) && $useShipping}
{locale group="quiqqer/erp-accounting-templates" var="body.deliveryAddress"}:
{if $DeliveryAddress && $DeliveryAddress->getText() !== ''} {$DeliveryAddress->getText()} {else} {locale group="quiqqer/erp-accounting-templates" var="body.deliveryAddress_like_invoiceAddress"} {/if}
{/if}