<data priority="50">
    <div id="informations" position="replace">
        <style>
      div#informations p {
        margin-bottom: 0rem;
      }
      div#informations div {
        display: inline-block;
        vertical-align: top;
      }
    </style>
        <div id="informations">
            <table class="table table-borderless table-sm">
                <tr>
                    <td>
                        <t t-if="o.move_type == 'out_invoice'">
                            <strong class="mr-2">Rechnungsdatum:</strong>
                        </t>
                        <t t-elif="o.move_type == 'out_refund'">
                            <strong class="mr-2">Gutschriftdatum:</strong>
                        </t>
                        <t t-elif="o.move_type == 'out_receipt'">
                            <strong class="mr-2">Quittungsdatum:</strong>
                        </t>
                        <t t-else="">
                            <strong>Datum:</strong>
                        </t>
                        <span class="ms-2" t-field="o.invoice_date" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
                    </td>
                    <td>
                        <strong class="mr-2">Zahlungsbedingungen:</strong>
                        <span class="ms-2" t-field="o.invoice_payment_term_id"/>
                    </td>
                    <!--<t t-set="partner_contact_id" t-value="o.invoice_line_ids.sale_line_ids.order_id.mapped('partner_contact_id')[:1]" />-->
                    <td t-if="o.partner_sale_id">
                        <strong class="mr-2">     Ihr Kontakt:</strong>
                        <span class="ms-2" t-field="o.partner_sale_id.name"/>
                    </td>
                </tr>
                <tr>
                    <td t-if="o.invoice_date_due and o.move_type == 'out_invoice' and o.state == 'posted'">
                        <strong class="mr-2">Fälligkeitsdatum:</strong>
                        <span class="ms-2" t-field="o.invoice_date_due" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
                    </td>
                    <td t-else=""/>
                    <td>
                        <strong class="mr-2">Unser Kontakt:</strong>
                        <span class="ms-2" t-field="o.invoice_user_id.name"/>
                    </td>
                    <td t-if="o.ref" rowspan="2">
                        <strong class="mr-2">Ihre Referenz:</strong>
                        <span class="ms-2" t-field="o.ref"/>
                    </td>
                </tr>
                <tr>
                    <t t-set="order_id" t-value="o.invoice_line_ids.sale_line_ids.mapped('order_id')[:1]"/>
                    <td t-if="order_id" colspan="2">
                        <strong class="mr-2">Unsere Referenz:</strong>
                        <span class="ms-2" t-field="order_id.display_name"/>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</data>