diff --git a/packages/server/src/modules/TransactionsLocking/commands/CommandTransactionsLockingService.ts b/packages/server/src/modules/TransactionsLocking/commands/CommandTransactionsLockingService.ts
index d5d43ef67..e70abb3b4 100644
--- a/packages/server/src/modules/TransactionsLocking/commands/CommandTransactionsLockingService.ts
+++ b/packages/server/src/modules/TransactionsLocking/commands/CommandTransactionsLockingService.ts
@@ -26,7 +26,7 @@ export class TransactionsLockingService {
constructor(
private readonly transactionsLockingRepo: TransactionsLockingRepository,
private readonly eventPublisher: EventEmitter2,
- ) {}
+ ) { }
/**
* Enable/disable all transacations locking.
diff --git a/packages/webapp/src/containers/Dialogs/AllocateLandedCostDialog/AllocateLandedCostFormFields.tsx b/packages/webapp/src/containers/Dialogs/AllocateLandedCostDialog/AllocateLandedCostFormFields.tsx
index 9ca8ab041..6b8af1446 100644
--- a/packages/webapp/src/containers/Dialogs/AllocateLandedCostDialog/AllocateLandedCostFormFields.tsx
+++ b/packages/webapp/src/containers/Dialogs/AllocateLandedCostDialog/AllocateLandedCostFormFields.tsx
@@ -10,7 +10,7 @@ import {
InputGroup,
} from '@blueprintjs/core';
import classNames from 'classnames';
-import { FormattedMessage as T, If, FFormGroup, FSelect } from '@/components';
+import { FormattedMessage as T, If, FFormGroup, FSelect, FRadioGroup, FInputGroup } from '@/components';
import { handleStringChange } from '@/utils';
import { FieldRequiredHint } from '@/components';
import { CLASSES } from '@/constants/classes';
@@ -31,7 +31,7 @@ export default function AllocateLandedCostFormFields() {
const { costTransactionEntries, landedCostTransactions } =
useAllocateLandedConstDialogContext();
- const { values, setFieldValue } = useFormikContext();
+ const { values, setFieldValue, form } = useFormikContext();
// Handle transaction type select change.
const handleTransactionTypeChange = (type) => {
@@ -137,62 +137,51 @@ export default function AllocateLandedCostFormFields() {
{/*------------ Amount -----------*/}
-
- {({ form, field, meta: { error, touched } }) => (
- }
- intent={inputIntent({ error, touched })}
- helperText={}
- className={'form-group--amount'}
- inline={true}
- >
- {
- const amount = e.target.value;
- const { allocation_method, items } = form.values;
+ }
+ inline={true}
+ fastField
+ >
+ {
+ const amount = e.target.value;
+ const { allocation_method, items } = values;
- form.setFieldValue(
- 'items',
- allocateCostToEntries(amount, allocation_method, items),
- );
- }}
- />
-
- )}
-
+ setFieldValue(
+ 'items',
+ allocateCostToEntries(amount, allocation_method, items),
+ );
+ }}
+ />
+
{/*------------ Allocation method -----------*/}
-
- {({ form, field: { value }, meta: { touched, error } }) => (
- }
- labelInfo={}
- className={'form-group--allocation_method'}
- intent={inputIntent({ error, touched })}
- helperText={}
- inline={true}
- >
- {
- const { amount, items } = form.values;
+ }
+ medium
+ inline
+ fastField
+ >
+ {
+ const { amount, items } = values;
- form.setFieldValue('allocation_method', _value);
- form.setFieldValue(
- 'items',
- allocateCostToEntries(amount, _value, items),
- );
- })}
- selectedValue={value}
- inline={true}
- >
- } value="quantity" />
- } value="value" />
-
-
- )}
-
+ setFieldValue('allocation_method', _value);
+ setFieldValue(
+ 'items',
+ allocateCostToEntries(amount, _value, items),
+ );
+ })}
+ inline={true}
+ >
+ } value="quantity" />
+ } value="value" />
+
+
{/*------------ Allocate Landed cost Table -----------*/}
diff --git a/packages/webapp/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentFormDialogFields.tsx b/packages/webapp/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentFormDialogFields.tsx
index f350fc9ce..0ac804d71 100644
--- a/packages/webapp/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentFormDialogFields.tsx
+++ b/packages/webapp/src/containers/Dialogs/InventoryAdjustmentFormDialog/InventoryAdjustmentFormDialogFields.tsx
@@ -21,7 +21,6 @@ import {
FeatureCan,
BranchSelect,
WarehouseSelect,
- BranchSelectButton,
FAccountsSuggestField,
} from '@/components';
import { momentFormatter, toSafeNumber } from '@/utils';
@@ -78,12 +77,11 @@ export default function InventoryAdjustmentFormDialogFields() {
}
- className={classNames('form-group--select-list', Classes.FILL)}
+ fill
>
@@ -93,7 +91,7 @@ export default function InventoryAdjustmentFormDialogFields() {
}
- className={classNames('form-group--select-list', Classes.FILL)}
+ fill
>