fix:localization.

This commit is contained in:
elforjani13
2022-03-14 15:13:53 +02:00
parent bd3059ecd8
commit 3e91b01b61
2 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ function WarehouseTransferFormHeaderFields({
<FastField name={'from_warehouse_id'} accounts={warehouses}> <FastField name={'from_warehouse_id'} accounts={warehouses}>
{({ form, field: { value }, meta: { error, touched } }) => ( {({ form, field: { value }, meta: { error, touched } }) => (
<FormGroup <FormGroup
label={<T id={'warehouse_transfer.label.form_warehouse'} />} label={<T id={'warehouse_transfer.label.from_warehouse'} />}
className={classNames( className={classNames(
'form-group--warehouse-transfer', 'form-group--warehouse-transfer',
CLASSES.FILL, CLASSES.FILL,

View File

@@ -100,7 +100,7 @@ export const useWarehouseTransferTableColumns = () => {
}, },
{ {
id: 'source_warehouse', id: 'source_warehouse',
Header: 'Source Warehouse', Header: intl.get('warehouse_transfer.column.source_warehouse'),
accessor: 'source_warehouse', accessor: 'source_warehouse',
disableSortBy: true, disableSortBy: true,
Cell: SourceWarehouseAccessorCell, Cell: SourceWarehouseAccessorCell,
@@ -109,7 +109,7 @@ export const useWarehouseTransferTableColumns = () => {
}, },
{ {
id: 'destination_warehouse', id: 'destination_warehouse',
Header: 'Destination Warehouse', Header: intl.get('warehouse_transfer.column.destination_warehouse'),
accessor: 'destination_warehouse', accessor: 'destination_warehouse',
Cell: DistentionWarehouseAccessorCell, Cell: DistentionWarehouseAccessorCell,
disableSortBy: true, disableSortBy: true,