mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +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
|
||||
label={intl.get('item.purchase_description')}
|
||||
children={defaultTo(item.cost_description, '-')}
|
||||
children={defaultTo(item.purchase_description, '-')}
|
||||
/>
|
||||
</DetailsMenu>
|
||||
</div>
|
||||
|
||||
@@ -107,7 +107,7 @@ export function useFetchItemRow({ landedCost, itemType, notifyNewRow }) {
|
||||
|
||||
const description =
|
||||
itemType === ITEM_TYPE.PURCHASABLE
|
||||
? item.cost_description
|
||||
? item.purchase_description
|
||||
: item.sell_description;
|
||||
|
||||
// Detarmines whether the landed cost checkbox should be disabled.
|
||||
|
||||
Reference in New Issue
Block a user