// Fusion Accounting - Bank Reconciliation Rainbowman
// Copyright (C) 2026 Nexa Systems Inc.

import { BankRecFinishButtons } from "./finish_buttons";
import { Component, onWillUnmount } from "@odoo/owl";

/**
 * BankRecRainbowContent - Celebration content displayed when all
 * bank statement lines have been successfully reconciled.
 */
export class BankRecRainbowContent extends Component {
    static template = "fusion_accounting.BankRecRainbowContent";
    static components = { BankRecFinishButtons };
    static props = {};

    setup() {
        onWillUnmount(() => {
            this.env.methods.initReconCounter();
        });
    }
}
