mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 22:35:45 +00:00
fix(FE): change nominal to absolute value, change form state initial balance, and changes filter options
This commit is contained in:
@@ -245,7 +245,11 @@ const FormFinanceAddInitialBalance = ({
|
||||
}
|
||||
required
|
||||
isClearable
|
||||
isDisabled={!formik.values.party_type_option?.value}
|
||||
isDisabled={
|
||||
!formik.values.party_type_option?.value ||
|
||||
(type === 'edit' &&
|
||||
formik.values.party_type_option?.value == 'SUPPLIER')
|
||||
}
|
||||
/>
|
||||
<SelectInput
|
||||
label='Bank'
|
||||
@@ -323,6 +327,7 @@ const FormFinanceAddInitialBalance = ({
|
||||
}
|
||||
required
|
||||
isClearable
|
||||
isDisabled={type == 'edit'}
|
||||
/>
|
||||
<NumberInput
|
||||
label='Nominal'
|
||||
|
||||
Reference in New Issue
Block a user