mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
fix: BIG-193 purchase item description does fill on item entries table.
This commit is contained in:
@@ -75,7 +75,7 @@ export default function ItemDetailHeader() {
|
|||||||
/>
|
/>
|
||||||
<DetailItem
|
<DetailItem
|
||||||
label={intl.get('item.purchase_description')}
|
label={intl.get('item.purchase_description')}
|
||||||
children={defaultTo(item.cost_description, '-')}
|
children={defaultTo(item.purchase_description, '-')}
|
||||||
/>
|
/>
|
||||||
</DetailsMenu>
|
</DetailsMenu>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ export function useFetchItemRow({ landedCost, itemType, notifyNewRow }) {
|
|||||||
|
|
||||||
const description =
|
const description =
|
||||||
itemType === ITEM_TYPE.PURCHASABLE
|
itemType === ITEM_TYPE.PURCHASABLE
|
||||||
? item.cost_description
|
? item.purchase_description
|
||||||
: item.sell_description;
|
: item.sell_description;
|
||||||
|
|
||||||
// Detarmines whether the landed cost checkbox should be disabled.
|
// Detarmines whether the landed cost checkbox should be disabled.
|
||||||
|
|||||||
Reference in New Issue
Block a user