feat: Bill drawer.

This commit is contained in:
elforjani3
2021-07-22 17:42:43 +02:00
parent 1091e3f996
commit 1eacc254d8
13 changed files with 290 additions and 3 deletions

View File

@@ -20,7 +20,14 @@ import moment from 'moment';
* Actions menu.
*/
export function ActionsMenu({
payload: { onEdit, onOpen, onDelete, onQuick, onAllocateLandedCost },
payload: {
onEdit,
onOpen,
onDelete,
onQuick,
onViewDetails,
onAllocateLandedCost,
},
row: { original },
}) {
return (
@@ -28,6 +35,7 @@ export function ActionsMenu({
<MenuItem
icon={<Icon icon="reader-18" />}
text={intl.get('view_details')}
onClick={safeCallback(onViewDetails, original)}
/>
<MenuDivider />
<MenuItem