mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
feat: add convert to vendor credit.
This commit is contained in:
@@ -34,6 +34,7 @@ export function ActionsMenu({
|
||||
onOpen,
|
||||
onDelete,
|
||||
onQuick,
|
||||
onConvert,
|
||||
onViewDetails,
|
||||
onAllocateLandedCost,
|
||||
},
|
||||
@@ -53,6 +54,11 @@ export function ActionsMenu({
|
||||
text={intl.get('edit_bill')}
|
||||
onClick={safeCallback(onEdit, original)}
|
||||
/>
|
||||
<MenuItem
|
||||
icon={<Icon icon="convert_to" />}
|
||||
text={intl.get('convert_to_vendor_credit')}
|
||||
onClick={safeCallback(onConvert, original)}
|
||||
/>
|
||||
|
||||
<If condition={!original.is_open}>
|
||||
<MenuItem
|
||||
|
||||
Reference in New Issue
Block a user