<data inherit_id="purchase.report_purchaseorder_document" priority="50">

<xpath expr="//table[@class='table table-borderless table-sm']" position="after">
    <t t-if="o.note_footer != '&lt;p&gt;&lt;br&gt;&lt;/p&gt;'">
      <span class="note" t-field="o.note_footer"/>
    </t>
    <table class="table table-borderless table-sm" style="margin-top:20px; width:100%; color:black; font-family: arial; font-size:9pt; border-top-style:solid; border-bottom-style:solid; border-width:1px; border-color:black">

      <tr >
        <td style="width:15.5%; text-align:left">
          <Strong>Warenwert</Strong>
        </td>
        <td style="width:23%; text-align:left">
          <span t-field="o.amount_untaxed"/>
        </td>

        <t t-if="o.amount_tax > 0">
          <td style="width:12%; text-align:left">MWST</td>
          <td style="width:17%; text-align:left">
            <span t-field="o.amount_tax" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>
          </td>
        </t>
        <t t-elif="o.amount_tax == 0">
          <td></td>
          <td></td>
        </t>

        <td style="width:14%; text-align:right">
          <Strong>Bestellbetrag</Strong>
        </td>
        <td style="width:18%; text-align:right" class="text-right">
          <span t-field="o.amount_total" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>
        </td>
      </tr>

    </table>
  </xpath>
  
 </data>