mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
Allow invoices to be sent/resent from the invoice view page (#623)
* Allow invoices to be sent/resent from the invoice view page
This commit is contained in:
1
resources/scripts/components/dropdowns/InvoiceIndexDropdown.vue
Normal file → Executable file
1
resources/scripts/components/dropdowns/InvoiceIndexDropdown.vue
Normal file → Executable file
@ -153,7 +153,6 @@ const utils = inject('utils')
|
||||
function canReSendInvoice(row) {
|
||||
return (
|
||||
(row.status == 'SENT' || row.status == 'VIEWED') &&
|
||||
route.name !== 'invoices.view' &&
|
||||
userStore.hasAbilities(abilities.SEND_INVOICE)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user