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

<templates id="template" xml:space="preserve">
    
    <t t-name="AccountReconciliation">
        <t t-if="widget.current_partner === null">
            <div class="oe_view_nocontent">
                <p>
                    Good job!
                </p><p>
                    There is nothing to reconcile. All invoices and payments
                    have been reconciled, your partner balance is clean.
                </p>
            </div>
        </t>
        <div class="oe_account_reconciliation">
            <t t-if="widget.current_partner !== null">
                <div>
                    <div>
                        <button class="oe_account_recon_previous oe_button" href="javascript:void(0)">&lt;</button>
                        <t t-esc="'' + widget.partners[widget.current_partner][1] + ' (' + (widget.current_partner + 1) + '/' + widget.partners.length + ')'"/>
                        <button class="oe_account_recon_next oe_button" href="javascript:void(0)">&gt;</button>
                    </div>
                    <div>
                        Latest Manual Reconciliation Processed: <t t-esc="widget.last_reconciliation_date" />
                    </div>
                </div>
                <div>
                    <button class="oe_account_recon_reconcile oe_button oe_highlight" href="javascript:void(0)"
                        disabled="">Reconcile</button>
                    <button class="oe_account_recom_mark_as_reconciled oe_button" href="javascript:void(0)">Nothing more to reconcile</button>
                </div>
            </t>
        </div>
    </t>

</templates>
