This commit is contained in:
a.bouhuolia
2021-03-16 17:27:46 +02:00
2 changed files with 10 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ export default function InventoryAdjustmentFormDialogFields() {
label={<T id={'adjustment_account'} />} label={<T id={'adjustment_account'} />}
labelInfo={<FieldRequiredHint />} labelInfo={<FieldRequiredHint />}
intent={inputIntent({ error, touched })} intent={inputIntent({ error, touched })}
helperText={<ErrorMessage name="reason" />} helperText={<ErrorMessage name="adjustment_account_id" />}
className={'form-group--adjustment-account'} className={'form-group--adjustment-account'}
> >
<AccountsSuggestField <AccountsSuggestField
@@ -150,14 +150,14 @@ export default function InventoryAdjustmentFormDialogFields() {
)} )}
</FastField> </FastField>
{/*------------ description -----------*/} {/*------------ Adjustment reasons -----------*/}
<FastField name={'reason'}> <FastField name={'reason'}>
{({ field, meta: { error, touched } }) => ( {({ field, meta: { error, touched } }) => (
<FormGroup <FormGroup
label={<T id={'adjustment_reasons'} />} label={<T id={'adjustment_reasons'} />}
className={'form-group--adjustment-reasons'} className={'form-group--adjustment-reasons'}
intent={inputIntent({ error, touched })} intent={inputIntent({ error, touched })}
helperText={<ErrorMessage name={'adjustment_reasons'} />} helperText={<ErrorMessage name={'reason'} />}
> >
<TextArea growVertically={true} large={true} {...field} /> <TextArea growVertically={true} large={true} {...field} />
</FormGroup> </FormGroup>

View File

@@ -1,7 +1,13 @@
.dialog--quick-payment-receive { .dialog--quick-payment-receive {
.bp3-form-group { .bp3-form-group {
margin-bottom: 15px; // margin-bottom: 15px;
label.bp3-label {
margin-bottom: 3px;
font-size: 13px;
}
} }
.form-group { .form-group {
&--statement { &--statement {
.bp3-form-content { .bp3-form-content {