mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-26 22:54:07 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user