{template_event name="quiqqer::erpAccountingTemplate::body::begin" entityType=$entityType}
{locale group="quiqqer/erp-accounting-templates" var="body.orderedBy"}: {$viewData['contact_person']}
{/if} {if !empty($viewData['project_name'])}{locale group="quiqqer/erp-accounting-templates" var="body.project"}: {$viewData['project_name']}
{/if} {if $this->getDeliveryDate() !== '-'}{locale group="quiqqer/erp-accounting-templates" var="SalesOrder.body.delivery_date"}: {$this->getDeliveryDate()}
{/if}{if $this->getSalesOrder()->getAttribute('order_date')} {locale group="quiqqer/erp-accounting-templates" var="SalesOrder.body.text_intro_date" orderDate=$this->getOrderDate() } {else} {locale group="quiqqer/erp-accounting-templates" var="SalesOrder.body.text_intro"} {/if} {if $this->getSalesOrder()->getData('offerId')} {erpGetPrefixedNumber assign=prefixedNumber var=$this->getSalesOrder()->getData('offerId')} {locale group="quiqqer/erp-accounting-templates" var="SalesOrder.body.text_with_offer_reference" offerId=$prefixedNumber } {else} {locale group="quiqqer/erp-accounting-templates" var="SalesOrder.body.text" } {/if}