|
|
@@ -173,8 +173,8 @@ const BasicInfoForm: React.FC<BasicInfoFormProps> = ({
|
|
|
<Form.Item
|
|
|
label={
|
|
|
<FormattedMessage
|
|
|
- id="register.patientId"
|
|
|
- defaultMessage="register.patientId"
|
|
|
+ id={productName === 'VETDROS' ? 'animal.register.patientId' : 'register.patientId'}
|
|
|
+ defaultMessage={productName === 'VETDROS' ? 'animal.register.patientId' : 'register.patientId'}
|
|
|
/>
|
|
|
}
|
|
|
name="patient_id"
|
|
|
@@ -184,16 +184,16 @@ const BasicInfoForm: React.FC<BasicInfoFormProps> = ({
|
|
|
>
|
|
|
<Input
|
|
|
placeholder={intl.formatMessage({
|
|
|
- id: 'register.patientId.placeholder',
|
|
|
- defaultMessage: 'register.patientId.placeholder',
|
|
|
+ id: productName === 'VETDROS' ? 'animal.register.patientId.placeholder' : 'register.patientId.placeholder',
|
|
|
+ defaultMessage: productName === 'VETDROS' ? 'animal.register.patientId.placeholder' : 'register.patientId.placeholder',
|
|
|
})}
|
|
|
/>
|
|
|
</Form.Item>
|
|
|
<Form.Item
|
|
|
label={
|
|
|
<FormattedMessage
|
|
|
- id="register.patientName"
|
|
|
- defaultMessage="register.patientName"
|
|
|
+ id={productName === 'VETDROS' ? 'animal.register.patientName' : 'register.patientName'}
|
|
|
+ defaultMessage={productName === 'VETDROS' ? 'animal.register.patientName' : 'register.patientName'}
|
|
|
/>
|
|
|
}
|
|
|
name="patient_name"
|
|
|
@@ -203,16 +203,16 @@ const BasicInfoForm: React.FC<BasicInfoFormProps> = ({
|
|
|
>
|
|
|
<Input
|
|
|
placeholder={intl.formatMessage({
|
|
|
- id: 'register.patientName.placeholder',
|
|
|
- defaultMessage: 'register.patientName.placeholder',
|
|
|
+ id: productName === 'VETDROS' ? 'animal.register.patientName.placeholder' : 'register.patientName.placeholder',
|
|
|
+ defaultMessage: productName === 'VETDROS' ? 'animal.register.patientName.placeholder' : 'register.patientName.placeholder',
|
|
|
})}
|
|
|
/>
|
|
|
</Form.Item>
|
|
|
<Form.Item
|
|
|
label={
|
|
|
<FormattedMessage
|
|
|
- id="register.patientSize"
|
|
|
- defaultMessage="register.patientSize"
|
|
|
+ id={productName === 'VETDROS' ? 'animal.register.patientSize' : 'register.patientSize'}
|
|
|
+ defaultMessage={productName === 'VETDROS' ? 'animal.register.patientSize' : 'register.patientSize'}
|
|
|
/>
|
|
|
}
|
|
|
name="patient_size"
|
|
|
@@ -223,8 +223,8 @@ const BasicInfoForm: React.FC<BasicInfoFormProps> = ({
|
|
|
>
|
|
|
<Select
|
|
|
placeholder={intl.formatMessage({
|
|
|
- id: 'register.patientSize.placeholder',
|
|
|
- defaultMessage: 'register.patientSize.placeholder',
|
|
|
+ id: productName === 'VETDROS' ? 'animal.register.patientSize.placeholder' : 'register.patientSize.placeholder',
|
|
|
+ defaultMessage: productName === 'VETDROS' ? 'animal.register.patientSize.placeholder' : 'register.patientSize.placeholder',
|
|
|
})}
|
|
|
defaultValue="Medium"
|
|
|
>
|