fix: add ability credit & vendor tabs.

This commit is contained in:
elforjani13
2021-12-29 14:37:03 +02:00
parent 1492c24cfb
commit 81c81bd09f
4 changed files with 32 additions and 21 deletions

View File

@@ -56,15 +56,15 @@ function CreditNoteDetailActionsBar({
openDialog('refund-credit-note', { creditNoteId });
};
const handleReconcileCreditNote = () => {
openDialog('reconcile-credit-note', { creditNoteId });
};
// Handle delete credit note.
const handleDeleteCreditNote = () => {
openAlert('credit-note-delete', { creditNoteId });
};
const handleReconcileCreditNote = () => {
openDialog('reconcile-credit-note', { creditNoteId });
};
return (
<DrawerActionsBar>
<NavbarGroup>