mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
Merge pull request #730 from bigcapitalhq/change-send-mail-button-invoice
fix: change the send mail button on invoice drawer
This commit is contained in:
@@ -47,6 +47,7 @@ function InvoiceDetailActionsBar({
|
||||
openAlert,
|
||||
|
||||
// #withDrawerActions
|
||||
openDrawer,
|
||||
closeDrawer,
|
||||
}) {
|
||||
const history = useHistory();
|
||||
@@ -102,8 +103,9 @@ function InvoiceDetailActionsBar({
|
||||
openAlert('cancel-bad-debt', { invoiceId });
|
||||
};
|
||||
|
||||
// handle send mail button click.
|
||||
const handleMailInvoice = () => {
|
||||
openDialog(DialogsName.InvoiceMail, { invoiceId });
|
||||
openDrawer(DRAWERS.INVOICE_SEND_MAIL, { invoiceId });
|
||||
};
|
||||
|
||||
const handleShareButtonClick = () => {
|
||||
|
||||
Reference in New Issue
Block a user