This commit is contained in:
PotapovaA 2026-08-17 13:30:02 +03:00
parent 63c3cb26c7
commit ecbd89cc71

View File

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