fix #98

Merged
PotapovaA merged 2 commits from fix-logic-limitation into test 2026-08-17 13:30:20 +03:00
Showing only changes of commit ecbd89cc71 - Show all commits

View File

@ -51,7 +51,7 @@ const bookingLessBalanceByColumn = new Map(
]),
);
// Экономия < Всего для форм 1 и 4.
// Экономия <= Всего для форм 1 и 4.
const economyLessTotal = [
["data.q1.economy", "data.q1.total"],
["data.q2.economy", "data.q2.total"],
@ -177,7 +177,7 @@ export const validationRules = [
total !== "" &&
Number.isFinite(Number(economy)) &&
Number.isFinite(Number(total)) &&
Number(economy) >= Number(total)
Number(economy) > Number(total)
);
},
},