mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
fix: personal phone number placeholder.
This commit is contained in:
@@ -6,7 +6,6 @@ import intl from 'react-intl-universal';
|
|||||||
import { inputIntent } from 'utils';
|
import { inputIntent } from 'utils';
|
||||||
|
|
||||||
export default function CustomerFormAfterPrimarySection({}) {
|
export default function CustomerFormAfterPrimarySection({}) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="customer-form__after-primary-section-content">
|
<div class="customer-form__after-primary-section-content">
|
||||||
{/*------------ Customer email -----------*/}
|
{/*------------ Customer email -----------*/}
|
||||||
@@ -31,21 +30,21 @@ export default function CustomerFormAfterPrimarySection({}) {
|
|||||||
inline={true}
|
inline={true}
|
||||||
>
|
>
|
||||||
<ControlGroup>
|
<ControlGroup>
|
||||||
<FastField name={'work_phone'}>
|
<FastField name={'personal_phone'}>
|
||||||
{({ field, meta: { error, touched } }) => (
|
{({ field, meta: { error, touched } }) => (
|
||||||
<InputGroup
|
<InputGroup
|
||||||
intent={inputIntent({ error, touched })}
|
intent={inputIntent({ error, touched })}
|
||||||
placeholder={intl.get('work')}
|
placeholder={intl.get('personal')}
|
||||||
{...field}
|
{...field}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</FastField>
|
</FastField>
|
||||||
|
|
||||||
<FastField name={'personal_phone'}>
|
<FastField name={'work_phone'}>
|
||||||
{({ field, meta: { error, touched } }) => (
|
{({ field, meta: { error, touched } }) => (
|
||||||
<InputGroup
|
<InputGroup
|
||||||
intent={inputIntent({ error, touched })}
|
intent={inputIntent({ error, touched })}
|
||||||
placeholder={intl.get('Mobile')}
|
placeholder={intl.get('work')}
|
||||||
{...field}
|
{...field}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -1478,5 +1478,6 @@
|
|||||||
"sms_notification.invoice_reminder.type": "تذكير بالفاتورة",
|
"sms_notification.invoice_reminder.type": "تذكير بالفاتورة",
|
||||||
"sms_notification.estimate_details.type": "تفاصيل فاتورة عرض الاسعار",
|
"sms_notification.estimate_details.type": "تفاصيل فاتورة عرض الاسعار",
|
||||||
"sms_notification.payment_details.type": "شكر علي عملية الدفع",
|
"sms_notification.payment_details.type": "شكر علي عملية الدفع",
|
||||||
"sms_notification.receipt_details.type": "تفاصيل إيصال البيع"
|
"sms_notification.receipt_details.type": "تفاصيل إيصال البيع",
|
||||||
|
"personal": "المحمول"
|
||||||
}
|
}
|
||||||
@@ -1465,5 +1465,6 @@
|
|||||||
"sms_notification.invoice_reminder.type": "Invoice reminder",
|
"sms_notification.invoice_reminder.type": "Invoice reminder",
|
||||||
"sms_notification.estimate_details.type": "Sale estimate details",
|
"sms_notification.estimate_details.type": "Sale estimate details",
|
||||||
"sms_notification.payment_details.type": "Payment receive thank you.",
|
"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"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user