mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
Fix : Edit ExchangeRate
This commit is contained in:
@@ -220,27 +220,6 @@ function ExchangeRateFormDialogContent({
|
|||||||
disabled={action === 'edit'}
|
disabled={action === 'edit'}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup
|
|
||||||
label={<T id={'exchange_rate'} />}
|
|
||||||
labelInfo={FieldRequiredHint}
|
|
||||||
intent={
|
|
||||||
errors.exchange_rate && touched.exchange_rate && Intent.DANGER
|
|
||||||
}
|
|
||||||
helperText={
|
|
||||||
<ErrorMessage name="exchange_rate" {...{ errors, touched }} />
|
|
||||||
}
|
|
||||||
inline={true}
|
|
||||||
>
|
|
||||||
<InputGroup
|
|
||||||
medium={true}
|
|
||||||
intent={
|
|
||||||
errors.exchange_rate && touched.exchange_rate && Intent.DANGER
|
|
||||||
}
|
|
||||||
{...getFieldProps('exchange_rate')}
|
|
||||||
/>
|
|
||||||
</FormGroup>
|
|
||||||
|
|
||||||
<FormGroup
|
<FormGroup
|
||||||
label={<T id={'currency_code'} />}
|
label={<T id={'currency_code'} />}
|
||||||
labelInfo={FieldRequiredHint}
|
labelInfo={FieldRequiredHint}
|
||||||
@@ -264,6 +243,26 @@ function ExchangeRateFormDialogContent({
|
|||||||
selectedItemProp={'currency_code'}
|
selectedItemProp={'currency_code'}
|
||||||
defaultText={<T id={'select_currency_code'} />}
|
defaultText={<T id={'select_currency_code'} />}
|
||||||
labelProp={'currency_code'}
|
labelProp={'currency_code'}
|
||||||
|
disabled={action === 'edit'}
|
||||||
|
/>
|
||||||
|
</FormGroup>
|
||||||
|
<FormGroup
|
||||||
|
label={<T id={'exchange_rate'} />}
|
||||||
|
labelInfo={FieldRequiredHint}
|
||||||
|
intent={
|
||||||
|
errors.exchange_rate && touched.exchange_rate && Intent.DANGER
|
||||||
|
}
|
||||||
|
helperText={
|
||||||
|
<ErrorMessage name="exchange_rate" {...{ errors, touched }} />
|
||||||
|
}
|
||||||
|
inline={true}
|
||||||
|
>
|
||||||
|
<InputGroup
|
||||||
|
medium={true}
|
||||||
|
intent={
|
||||||
|
errors.exchange_rate && touched.exchange_rate && Intent.DANGER
|
||||||
|
}
|
||||||
|
{...getFieldProps('exchange_rate')}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user