mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
fix: BIG-140Reordering sell, cost and inventory account on item details.
This commit is contained in:
@@ -54,6 +54,10 @@ export default function ItemDetailHeader() {
|
|||||||
label={intl.get('category_name')}
|
label={intl.get('category_name')}
|
||||||
children={defaultTo(item.category?.name, '-')}
|
children={defaultTo(item.category?.name, '-')}
|
||||||
/>
|
/>
|
||||||
|
<DetailItem
|
||||||
|
label={intl.get('sell_account_id')}
|
||||||
|
children={defaultTo(item?.sell_account?.name, '-')}
|
||||||
|
/>
|
||||||
<DetailItem
|
<DetailItem
|
||||||
label={intl.get('cost_account_id')}
|
label={intl.get('cost_account_id')}
|
||||||
children={defaultTo(item.cost_account?.name, '-')}
|
children={defaultTo(item.cost_account?.name, '-')}
|
||||||
@@ -64,10 +68,6 @@ export default function ItemDetailHeader() {
|
|||||||
children={defaultTo(item?.inventory_account?.name, '-')}
|
children={defaultTo(item?.inventory_account?.name, '-')}
|
||||||
/>
|
/>
|
||||||
</If>
|
</If>
|
||||||
<DetailItem
|
|
||||||
label={intl.get('sell_account_id')}
|
|
||||||
children={defaultTo(item?.sell_account?.name, '-')}
|
|
||||||
/>
|
|
||||||
<DetailItem
|
<DetailItem
|
||||||
label={intl.get('item.sell_description')}
|
label={intl.get('item.sell_description')}
|
||||||
children={defaultTo(item.sell_description, '-')}
|
children={defaultTo(item.sell_description, '-')}
|
||||||
|
|||||||
Reference in New Issue
Block a user