mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +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,
|
openAlert,
|
||||||
|
|
||||||
// #withDrawerActions
|
// #withDrawerActions
|
||||||
|
openDrawer,
|
||||||
closeDrawer,
|
closeDrawer,
|
||||||
}) {
|
}) {
|
||||||
const history = useHistory();
|
const history = useHistory();
|
||||||
@@ -102,8 +103,9 @@ function InvoiceDetailActionsBar({
|
|||||||
openAlert('cancel-bad-debt', { invoiceId });
|
openAlert('cancel-bad-debt', { invoiceId });
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// handle send mail button click.
|
||||||
const handleMailInvoice = () => {
|
const handleMailInvoice = () => {
|
||||||
openDialog(DialogsName.InvoiceMail, { invoiceId });
|
openDrawer(DRAWERS.INVOICE_SEND_MAIL, { invoiceId });
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleShareButtonClick = () => {
|
const handleShareButtonClick = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user