<?xml version="1.0"?>
<t t-name="account.document_tax_totals_company_currency_template">
            <t t-set="currency" t-value="o.company_currency_id"/>
            <t t-set="same_tax_base" t-value="tax_totals['same_tax_base']"/>
            <div class="mb-2 mt-3 border p-2 avoid-page-break-inside totals_taxes_company_currency">
                <table class="o_total_table table table-borderless mb-0">
                    <p class="tax_computation_company_currency">
                        Taxes <span t-field="o.company_currency_id"/>
                    </p>
                    <t t-foreach="tax_totals['subtotals']" t-as="subtotal">
                        <tr class="o_subtotal">
                            <td>
                                <span t-out="subtotal['name']">Untaxed amount</span>
                            </td>
                            <td class="text-end">
                                <span t-out="subtotal['base_amount']" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: currency}">27.00</span>
                            </td>
                        </tr>
                        <t t-foreach="subtotal['tax_groups']" t-as="tax_group">
                            <tr class="o_taxes">
                                <t t-if="same_tax_base or tax_group['display_base_amount'] is None">
                                    <td>
                                        <span class="text-nowrap" t-out="tax_group['group_name']"/>
                                    </td>
                                    <td class="text-end o_price_total">
                                        <span class="text-nowrap" t-out="tax_group['tax_amount']" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: currency}">31.05</span>
                                    </td>
                                </t>
                                <t t-else="">
                                    <td>
                                        <span t-out="tax_group['group_name']">Tax 15%</span>
                                        <span> on </span>
                                        <span class="text-nowrap" t-out="tax_group['display_base_amount']" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: currency}">27.00</span>
                                    </td>
                                    <td class="text-end o_price_total">
                                        <span class="text-nowrap" t-out="tax_group['tax_amount']" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: currency}">4.05</span>
                                    </td>
                                </t>
                            </tr>
                        </t>
                    </t>
                    <!--Total amount with all taxes-->
                    <tr class="o_total">
                        <td><strong>Total</strong></td>
                        <td class="text-end">
                            <strong t-out="tax_totals['total_amount']" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: currency}">31.05</strong>
                        </td>
                    </tr>
                </table>
            </div>
        </t>

        