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

<templates>
<!--    Upload from form view-->
    <t t-name="odex30_account_accountant.NewLoan">
        <FileUploader
            acceptedFileExtensions="props.acceptedFileExtensions"
            fileUploadClass="'new_loan'"
            multiUpload="false"
            onUploaded.bind="onFileUploaded"
        >
            <t t-set-slot="toggler">
                <span groups="account.group_account_invoice">
                    <button class="btn btn-primary">
                        Upload
                    </button>
                </span>
            </t>
            <t t-slot="default"/>
        </FileUploader>
        <span class="ms-1" groups="account.group_account_invoice">
            <button
                class="btn btn-secondary"
                t-on-click="openComputeWizard"
            >
                Compute
            </button>
        </span>
    </t>
</templates>
