Mount send modals on index views and dashboard, pass missing props

SendInvoiceModal and SendEstimateModal were only mounted on detail
views. Resend from table dropdowns did nothing because the modal
component was not in the DOM. Added to index views and dashboard.

Pass canCreatePayment and canCreateEstimate props to InvoiceDropdown
from detail view and dashboard.
This commit is contained in:
Darko Gjorgjijoski
2026-04-06 22:56:57 +02:00
parent 5c0e761dfa
commit c328d1cd10
5 changed files with 23 additions and 0 deletions

View File

@@ -168,6 +168,7 @@ const canCreateInvoiceFromEstimate = computed(() => userStore.hasAbilities(ABILI
:can-delete="canDeleteInvoice"
:can-send="canSendInvoice"
:can-create-payment="canCreatePayment"
:can-create-estimate="canCreateEstimate"
/>
</template>
</BaseTable>