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

@@ -101,7 +101,9 @@ export function BillDetailsStatus({ bill }) {
);
}
export const BillMenuItem = ({ payload: { onConvert } }) => {
export const BillMenuItem = ({
payload: { onConvert, onAllocateLandedCost },
}) => {
return (
<Popover
minimal={true}
@@ -112,6 +114,10 @@ export const BillMenuItem = ({ payload: { onConvert } }) => {
}}
content={
<Menu>
<MenuItem
onClick={onAllocateLandedCost}
text={<T id={'bill.allocate_landed_coast'} />}
/>
<MenuItem
onClick={onConvert}
text={<T id={'bill.convert_to_credit_note'} />}