// Fusion Accounting - Bank Reconciliation Finish Buttons (Upload Extension)
// Copyright (C) 2026 Nexa Systems Inc.

import { patch } from "@web/core/utils/patch";
import { AccountFileUploader } from "@account/components/account_file_uploader/account_file_uploader";
import { BankRecFinishButtons } from "@fusion_accounting/components/bank_reconciliation/finish_buttons";

/**
 * Patches BankRecFinishButtons to add the file upload component
 * for importing bank statements directly from the finish screen.
 */
patch(BankRecFinishButtons, {
    components: {
        AccountFileUploader,
    }
})
