Merge branch 'develop'

This commit is contained in:
a.bouhuolia
2022-01-03 11:46:00 +02:00
512 changed files with 20008 additions and 2564 deletions

View File

@@ -28,15 +28,10 @@ export default function CustomerDetailsHeader() {
<h3 class="big-number">{customer.formatted_balance}</h3>
</DetailItem>
<DetailItem
label={<T id={'customer.drawer.label.customer_name'} />}
name={'name'}
children={customer?.display_name}
/>
<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
@@ -44,6 +39,13 @@ export default function CustomerDetailsHeader() {
</DetailsMenu>
<DetailsMenu direction={'horizantal'} minLabelSize={'175px'}>
<DetailItem
label={<T id={'customer.drawer.label.customer_name'} />}
name={'name'}
>
<strong>{customer?.display_name}</strong>
</DetailItem>
<DetailItem
label={<T id={'customer.drawer.label.company_name'} />}
children={defaultTo(customer?.company_name, '--')}