<data priority="50">
    <xpath expr="//table[@id='main_table']" position="after">
        <table id="summary" class="table table-condensed trimada table-borderless" 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>Subtotal</strong>
                </td>
                <td style="width:23%; text-align:left">
                    <t t-if="o.state_blanket_order != 'draft'">
                        <span t-field="o.amount_untaxed" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>
                    </t>
                    <t t-else="">
                        <span>CHF</span>
                    </t>
                </td>
                <td style="width:12%; text-align:left">
                    <t t-if="o.state_blanket_order != 'draft'">
                        <span>VAT</span>
                    </t>
                </td>
                <td style="width:17%; text-align:left">
                    <t t-if="o.state_blanket_order != 'draft'">
                        <span t-field="o.amount_tax" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>
                    </t>
                </td>
                <td style="width:14%; text-align:right">
                    <strong>Total</strong>
                </td>
                <td style="width:18%; text-align:right">
                    <t t-if="o.state_blanket_order != 'draft'">
                        <span t-field="o.amount_total" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: o.currency_id}"/>
                    </t>
                    <t t-else="">
                        <span>CHF</span>
                    </t>
                </td>
            </tr>
        </table>
    </xpath>
</data>
