mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
Show customer / vendor balance. (#311)
* feat : Update the Customer select prop to balance * feat : Update the Vendor select prop to balance * feat: Update balance to formatted_balance
This commit is contained in:
@@ -34,7 +34,7 @@ function CustomerSelectRoot({
|
|||||||
<FSelect
|
<FSelect
|
||||||
items={items}
|
items={items}
|
||||||
textAccessor={'display_name'}
|
textAccessor={'display_name'}
|
||||||
labelAccessor={'currency_code'}
|
labelAccessor={'formatted_balance'}
|
||||||
valueAccessor={'id'}
|
valueAccessor={'id'}
|
||||||
popoverProps={{ minimal: true, usePortal: true, inline: false }}
|
popoverProps={{ minimal: true, usePortal: true, inline: false }}
|
||||||
createNewItemRenderer={maybeCreateNewItemRenderer}
|
createNewItemRenderer={maybeCreateNewItemRenderer}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ function VendorsSelectRoot({
|
|||||||
<FSelect
|
<FSelect
|
||||||
items={items}
|
items={items}
|
||||||
textAccessor={'display_name'}
|
textAccessor={'display_name'}
|
||||||
labelAccessor={'code'}
|
labelAccessor={'formatted_balance'}
|
||||||
valueAccessor={'id'}
|
valueAccessor={'id'}
|
||||||
popoverProps={{ minimal: true, usePortal: true, inline: false }}
|
popoverProps={{ minimal: true, usePortal: true, inline: false }}
|
||||||
createNewItemRenderer={maybeCreateNewItemRenderer}
|
createNewItemRenderer={maybeCreateNewItemRenderer}
|
||||||
|
|||||||
Reference in New Issue
Block a user