BIG-202 Remove the allocate actions bar.

This commit is contained in:
elforjani13
2021-12-30 12:15:23 +02:00
parent 9474a4fcd1
commit fa23aa67d3
5 changed files with 17 additions and 19 deletions

View File

@@ -69,6 +69,11 @@ function BillDetailActionsBar({
openDialog('quick-payment-made', { billId });
};
// Handle allocate landed cost button click.
const handleAllocateCostClick = () => {
openDialog('allocate-landed-cost', { billId });
};
return (
<DrawerActionsBar>
<NavbarGroup>
@@ -106,6 +111,7 @@ function BillDetailActionsBar({
<BillMenuItem
payload={{
onConvert: handleConvertToVendorCredit,
onAllocateLandedCost: handleAllocateCostClick,
}}
/>
</Can>