<commit_before><?xml version="1.0" encoding="UTF-8"?>

<templates xml:space="preserve">

<div t-name="reconciliation" class="o_reconciliation">
    <div class="o_form_view">
        <div class="o_form_sheet_bg">
            <div class="o_form_sheet"/>
        </div>
    </div>
</div>

<t t-name="reconciliation.statement">
    <div t-if="widget._initialState.valuemax">
        <div>
            <t t-if="widget._initialState.bank_statement_id">
                <h1 class="statement_name editable" title="Click to Rename" />
            </t>
            <t t-else="">
                <h1 class="statement_name" />
            </t>
            <h1 class="statement_name_edition" style="display: none;"/>
            <div class="progress progress-striped">
                <div class="progress-text">
                    <span class="valuenow"><t t-esc="widget._initialState.valuenow"/></span> / <span class="valuemax"><t t-esc="widget._initialState.valuemax"/></span>
                </div>
                <div aria-valuemin="0" t-att-aria-valuenow="widget._initialState.valuenow" class="progress-bar" role="progressbar" style="width: 0%;" t-att-aria-valuemax="widget._initialState.valuemax"></div>
            </div>
            <div class="notification_area"/>
        </div>
        <div class="o_reconciliation_lines"/>
        <div t-if="widget._initialState.valuemax &gt; widget._initialState.defaultDisplayQty">
            <button class="btn btn-secondary js_load_more">Load more</button>
        </div>
        <div class="float-right text-muted">Tip: Hit CTRL-Enter to reconcile all the balanced items in the sheet.</div>
    </div>
    <div t-else="" class="o_view_noreconciliation">
        <p>Nothing to do!</p>
        <p>This page displays all the bank transactions that are to be reconciled and provides with a neat interface to do so.</p>
    </div>
</t>

<t t-name="reconciliation.manual.statement" t-extend="reconciliation.statement">
    <t t-jquery="div:first" t-operation="attributes">
        <attribute name="class">o_manual_statement</attribute>
    </t>
    <t t-jquery=".o_view_noreconciliation p" t-operation="replace"></t>
    <t t-jquery=".o_view_noreconciliation" t-operation="append">
        <p><b>Good Job!</b> There is nothing to reconcile.</p>
        <p>All invoices and payments have been matched, your accounts' balances are clean.</p>
    </t>
</t>

<div t-name="reconciliation.done" class="done_message">
    <h2>Congrats, you're all done!</h2>
    <p>You reconciled <strong><t t-esc="number"/></strong> transactions in <strong><t t-esc="duration"/></strong>.<br/>That's on average <t t-esc="timePerTransaction"/> seconds per transaction.</p>
    <t t-if="context &amp;&amp; context.active_model">
        <p t-if="context['active_model'] === 'account.journal' || context['active_model'] === 'account.bank.statement'" class="actions_buttons">
            <t t-if="context.journal_id">
                <button class="button_back_to_statement btn btn-secondary" t-att-data_journal_id='context.journal_id'>Go to bank statement(s)</button>
            </t>
            <t t-if="context['active_model'] === 'account.bank.statement'">
                <button class="button_close_statement btn btn-primary" style="display: inline-block;">Close statement</button>
            </t>
        </p>
    </t>
</div>

<t t-name="reconciliation.line">
    <t t-set="state" t-value="widget._initialState"/>
    <div class="o_reconciliation_line" t-att-data-mode="state.mode">
        <table class="accounting_view">
            <caption>
                <div class="float-right o_buttons">
                    <button t-attf-class="o_validate btn btn-secondary #{!state.balance.type ? '' : 'd-none'}">Validate</button>
                    <button t-attf-class="o_reconcile btn btn-primary #{state.balance.type &gt; 0 ? '' : 'd-none'}">Reconcile</button>
                    <span t-attf-class="o_no_valid text-danger #{state.balance.type &lt; 0 ? '' : 'd-none'}">Select a partner or choose a counterpart</span>
                </div>
            </caption>
            <thead>
                <tr>
                    <td class="cell_action"><span class="toggle_match fa fa-cog" aria-label="Settings" role="img" title="Settings"></span></td>
                    <td class="cell_account_code"><t t-esc="state.st_line.account_code"/></td>
                    <td class="cell_due_date"><t t-esc="state.st_line.date"/></td>
                    <td class="cell_label"><t t-if="state.st_line.name" t-esc="state.st_line.name"/> <t t-if="state.st_line.amount_currency_str"> (<t t-esc="state.st_line.amount_currency_str"/>)</t></td>
                    <td class="cell_left"><t t-if="state.st_line.amount &gt; 0"><t t-raw="state.st_line.amount_str"/></t></td>
                    <td class="cell_right"><t t-if="state.st_line.amount &lt; 0"><t t-raw="state.st_line.amount_str"/></t></td>
                    <td class="cell_info_popover"></td>
                </tr>
            </thead>
            <tbody>
                <t t-foreach="state.reconciliation_proposition" t-as="line"><t t-call="reconciliation.line.mv_line"/></t>
            </tbody>
            <tfoot>
                <t t-call="reconciliation.line.balance"/>
            </tfoot>
        </table>
        <div class="match">
            <t t-call="reconciliation.line.match"/><commit_msg>[FIX] account: caption position in reconciliation widget<commit_after><?xml version="1.0" encoding="UTF-8"?>

<templates xml:space="preserve">

<div t-name="reconciliation" class="o_reconciliation">
    <div class="o_form_view">
        <div class="o_form_sheet_bg">
            <div class="o_form_sheet"/>
        </div>
    </div>
</div>

<t t-name="reconciliation.statement">
    <div t-if="widget._initialState.valuemax">
        <div>
            <t t-if="widget._initialState.bank_statement_id">
                <h1 class="statement_name editable" title="Click to Rename" />
            </t>
            <t t-else="">
                <h1 class="statement_name" />
            </t>
            <h1 class="statement_name_edition" style="display: none;"/>
            <div class="progress progress-striped">
                <div class="progress-text">
                    <span class="valuenow"><t t-esc="widget._initialState.valuenow"/></span> / <span class="valuemax"><t t-esc="widget._initialState.valuemax"/></span>
                </div>
                <div aria-valuemin="0" t-att-aria-valuenow="widget._initialState.valuenow" class="progress-bar" role="progressbar" style="width: 0%;" t-att-aria-valuemax="widget._initialState.valuemax"></div>
            </div>
            <div class="notification_area"/>
        </div>
        <div class="o_reconciliation_lines"/>
        <div t-if="widget._initialState.valuemax &gt; widget._initialState.defaultDisplayQty">
            <button class="btn btn-secondary js_load_more">Load more</button>
        </div>
        <div class="float-right text-muted">Tip: Hit CTRL-Enter to reconcile all the balanced items in the sheet.</div>
    </div>
    <div t-else="" class="o_view_noreconciliation">
        <p>Nothing to do!</p>
        <p>This page displays all the bank transactions that are to be reconciled and provides with a neat interface to do so.</p>
    </div>
</t>

<t t-name="reconciliation.manual.statement" t-extend="reconciliation.statement">
    <t t-jquery="div:first" t-operation="attributes">
        <attribute name="class">o_manual_statement</attribute>
    </t>
    <t t-jquery=".o_view_noreconciliation p" t-operation="replace"></t>
    <t t-jquery=".o_view_noreconciliation" t-operation="append">
        <p><b>Good Job!</b> There is nothing to reconcile.</p>
        <p>All invoices and payments have been matched, your accounts' balances are clean.</p>
    </t>
</t>

<div t-name="reconciliation.done" class="done_message">
    <h2>Congrats, you're all done!</h2>
    <p>You reconciled <strong><t t-esc="number"/></strong> transactions in <strong><t t-esc="duration"/></strong>.<br/>That's on average <t t-esc="timePerTransaction"/> seconds per transaction.</p>
    <t t-if="context &amp;&amp; context.active_model">
        <p t-if="context['active_model'] === 'account.journal' || context['active_model'] === 'account.bank.statement'" class="actions_buttons">
            <t t-if="context.journal_id">
                <button class="button_back_to_statement btn btn-secondary" t-att-data_journal_id='context.journal_id'>Go to bank statement(s)</button>
            </t>
            <t t-if="context['active_model'] === 'account.bank.statement'">
                <button class="button_close_statement btn btn-primary" style="display: inline-block;">Close statement</button>
            </t>
        </p>
    </t>
</div>

<t t-name="reconciliation.line">
    <t t-set="state" t-value="widget._initialState"/>
    <div class="o_reconciliation_line" t-att-data-mode="state.mode">
        <table class="accounting_view">
            <caption style="caption-side: top;">
                <div class="float-right o_buttons">
                    <button t-attf-class="o_validate btn btn-secondary #{!state.balance.type ? '' : 'd-none'}">Validate</button>
                    <button t-attf-class="o_reconcile btn btn-primary #{state.balance.type &gt; 0 ? '' : 'd-none'}">Reconcile</button>
                    <span t-attf-class="o_no_valid text-danger #{state.balance.type &lt; 0 ? '' : 'd-none'}">Select a partner or choose a counterpart</span>
                </div>
            </caption>
            <thead>
                <tr>
                    <td class="cell_action"><span class="toggle_match fa fa-cog" aria-label="Settings" role="img" title="Settings"></span></td>
                    <td class="cell_account_code"><t t-esc="state.st_line.account_code"/></td>
                    <td class="cell_due_date"><t t-esc="state.st_line.date"/></td>
                    <td class="cell_label"><t t-if="state.st_line.name" t-esc="state.st_line.name"/> <t t-if="state.st_line.amount_currency_str"> (<t t-esc="state.st_line.amount_currency_str"/>)</t></td>
                    <td class="cell_left"><t t-if="state.st_line.amount &gt; 0"><t t-raw="state.st_line.amount_str"/></t></td>
                    <td class="cell_right"><t t-if="state.st_line.amount &lt; 0"><t t-raw="state.st_line.amount_str"/></t></td>
                    <td class="cell_info_popover"></td>
                </tr>
            </thead>
            <tbody>
                <t t-foreach="state.reconciliation_proposition" t-as="line"><t t-call="reconciliation.line.mv_line"/></t>
            </tbody>
            <tfoot>
                <t t-call="reconciliation.line.balance"/>
            </tfoot>
        </table>
        <div class="match">
            <t t-call="reconciliation.line.match"/>
{'fraction_non_alphanumeric': 0.17058062130177515, 'fraction_numerical': 0.0025887573964497044, 'mean_word_length': 2.625, 'pattern_counts': {'":': 0, '<': 297, '<?xml version=': 2, '>': 297, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3135930', 'n_tokens_mistral': 3484, 'n_tokens_neox': 3375, 'n_words': 631}