mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +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
|
||||
items={items}
|
||||
textAccessor={'display_name'}
|
||||
labelAccessor={'currency_code'}
|
||||
labelAccessor={'formatted_balance'}
|
||||
valueAccessor={'id'}
|
||||
popoverProps={{ minimal: true, usePortal: true, inline: false }}
|
||||
createNewItemRenderer={maybeCreateNewItemRenderer}
|
||||
|
||||
@@ -35,7 +35,7 @@ function VendorsSelectRoot({
|
||||
<FSelect
|
||||
items={items}
|
||||
textAccessor={'display_name'}
|
||||
labelAccessor={'code'}
|
||||
labelAccessor={'formatted_balance'}
|
||||
valueAccessor={'id'}
|
||||
popoverProps={{ minimal: true, usePortal: true, inline: false }}
|
||||
createNewItemRenderer={maybeCreateNewItemRenderer}
|
||||
|
||||
Reference in New Issue
Block a user