fix(sale invoice): fix reference field.

This commit is contained in:
elforjani3
2021-03-11 18:00:48 +02:00
parent 59f8010122
commit 77968489b2

View File

@@ -146,14 +146,14 @@ function InvoiceFormHeaderFields({
</FastField>
{/* ----------- Reference ----------- */}
<FastField name={'reference'}>
<FastField name={'reference_no'}>
{({ field, meta: { error, touched } }) => (
<FormGroup
label={<T id={'reference'} />}
inline={true}
className={classNames('form-group--reference', CLASSES.FILL)}
intent={inputIntent({ error, touched })}
helperText={<ErrorMessage name="reference" />}
helperText={<ErrorMessage name="reference_no" />}
>
<InputGroup minimal={true} {...field} />
</FormGroup>