fix: personal phone number placeholder.

This commit is contained in:
a.bouhuolia
2021-11-11 17:50:58 +02:00
parent b6f0f6c2d5
commit 1990ce7562
3 changed files with 8 additions and 7 deletions

View File

@@ -6,7 +6,6 @@ import intl from 'react-intl-universal';
import { inputIntent } from 'utils';
export default function CustomerFormAfterPrimarySection({}) {
return (
<div class="customer-form__after-primary-section-content">
{/*------------ Customer email -----------*/}
@@ -31,21 +30,21 @@ export default function CustomerFormAfterPrimarySection({}) {
inline={true}
>
<ControlGroup>
<FastField name={'work_phone'}>
<FastField name={'personal_phone'}>
{({ field, meta: { error, touched } }) => (
<InputGroup
intent={inputIntent({ error, touched })}
placeholder={intl.get('work')}
placeholder={intl.get('personal')}
{...field}
/>
)}
</FastField>
<FastField name={'personal_phone'}>
<FastField name={'work_phone'}>
{({ field, meta: { error, touched } }) => (
<InputGroup
intent={inputIntent({ error, touched })}
placeholder={intl.get('Mobile')}
placeholder={intl.get('work')}
{...field}
/>
)}

View File

@@ -1478,5 +1478,6 @@
"sms_notification.invoice_reminder.type": "تذكير بالفاتورة",
"sms_notification.estimate_details.type": "تفاصيل فاتورة عرض الاسعار",
"sms_notification.payment_details.type": "شكر علي عملية الدفع",
"sms_notification.receipt_details.type": "تفاصيل إيصال البيع"
"sms_notification.receipt_details.type": "تفاصيل إيصال البيع",
"personal": "المحمول"
}

View File

@@ -1465,5 +1465,6 @@
"sms_notification.invoice_reminder.type": "Invoice reminder",
"sms_notification.estimate_details.type": "Sale estimate details",
"sms_notification.payment_details.type": "Payment receive thank you.",
"sms_notification.receipt_details.type": "Sale receipt details"
"sms_notification.receipt_details.type": "Sale receipt details",
"personal": "Personal"
}