fix: customer/vendor drawer new transaction link.

This commit is contained in:
a.bouhuolia
2023-01-26 23:08:19 +02:00
parent 24407bd744
commit e900966cb2
3 changed files with 10 additions and 9 deletions

View File

@@ -64,12 +64,12 @@ function VendorDetailsActionsBar({
};
const handleNewInvoiceClick = () => {
history.push('bills/new');
history.push('/bills/new');
closeDrawer('vendor-detail-drawer');
};
const handleNewPaymentClick = () => {
history.push('payment-mades/new');
history.push('/payment-mades/new');
closeDrawer('vendor-detail-drawer');
};