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:
Mwikala Kangwa
2021-12-17 15:10:41 +00:00
committed by GitHub
parent b770e6277f
commit d69b7fd491

View 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)
)
}