fix: customer & inventory adjustment.

This commit is contained in:
elforjani13
2021-12-28 17:57:50 +02:00
parent 1e472d278a
commit e615f62ef5
5 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ export default function CustomerDetailsHeader() {
<DetailItem
label={<T id={'customer.drawer.label.customer_type'} />}
name={'type'}
children={customer?.customer_type}
children={customer?.formatted_customer_type }
/>
<DetailItem label={<T id={'customer.drawer.label.unused_credits'} />}>
0

View File

@@ -24,7 +24,7 @@ export default function InventoryAdjustmentDetailHeader() {
</DetailItem>
<DetailItem label={intl.get('type')}>
{inventoryAdjustment.type}
{inventoryAdjustment.type_formatted}
</DetailItem>
<DetailItem label={intl.get('adjustment_account')}>