Pull request #2526: fix(TEAMMSBMOB-22943): Исправление выписок

Merge in MCB_FE/mcb-platform-monorepo from fix/TEAMMSBMOB-22943-fix-statements to release-1.10.3

* commit '8301fc745bcdc5556dd08e9da2227f4b98d4de7a':
  fix(TEAMMSBMOB-22943): Исправление выписок
This commit is contained in:
Дмитрий Слабухин
2026-02-04 11:51:28 +03:00
2 changed files with 2 additions and 2 deletions
@@ -74,7 +74,7 @@ function mapStatementRequestDtoToForm(requestData: StatementRequestFormDto | und
accountIds: accountsIds,
action: statementActionDto,
dateWithPeriod: {
dateInterval: [new Date(calculatedPeriodStart), new Date(calculatedPeriodEnd)],
dateInterval: [calculatedPeriodStart, calculatedPeriodEnd],
/** FIXME [m.kudryashov 23.09.2025]: PERIOD_TYPE !== STATEMENT_REQUEST_DATE_PERIODS. */
period: calculatedInterval === undefined ? PERIOD_TYPE.SELECT_PERIOD : (periodType as unknown as PERIOD_TYPE),
},
@@ -128,8 +128,8 @@ const useInitialValues = ({
}, [organizationsWithAccounts, statementMappedToForm?.accountIds]);
return {
...statementMappedToForm,
...initialValuesSlim,
...statementMappedToForm,
organizationIds,
accountIds,
};