<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">

    <t t-name="odex30_account_accountant.BankRecGlobalInfo">
        <div t-if="props.journalId"
             class="journal-balance d-flex w-100"
             t-att-class="{'pe-none': !hasGroupReadOnly}"
             t-on-click="(ev) => hasGroupReadOnly ? this.actionOpenBankGL() : {}">
            <span class="btn flex-fill text-900 text-start ps-0 fw-bold fs-4 align-self-center">
                Balance
            </span>
            <span class="btn btn-link pe-0 fw-bold fs-4 align-self-center"
                  t-if="props.journalBalanceAmount or props.journalBalanceAmount === 0"
                  t-esc="props.journalBalanceAmount"/>
        </div>
    </t>

</templates>
