Арсентьев Александр
1af2a70406
fix: payments validation and in-place allocation edits
...
Close the KS-2 -> KS-3 -> Payment -> allocation -> aggregates chain for V1.
Two real defects fixed:
- NaN/Infinity payment or allocation amounts raised InvalidOperation (500)
or were silently stored; they are now finite-value validation errors (400)
via _parse_money / is_finite checks.
- Editing an allocation to the same KS-3 hit uq_payment_ks3 because
clear() deferred the DELETE past the new INSERT; allocations are now
updated in place.
Financial semantics unchanged: full active payment counts as received,
storno keeps historical allocations while excluding the payment from
active aggregates. Decimal arithmetic preserved.
2026-10-08 20:24:48 +03:00
..
2026-09-26 17:41:09 +03:00
2026-09-26 17:41:09 +03:00
2026-09-26 20:10:41 +03:00
2026-09-26 21:36:43 +03:00
2026-09-26 21:36:43 +03:00
2026-09-26 21:36:43 +03:00
2026-09-26 21:36:43 +03:00
2026-09-27 13:38:45 +03:00
2026-09-27 13:38:45 +03:00
2026-09-27 13:38:45 +03:00
2026-09-27 13:38:45 +03:00
2026-09-27 13:38:45 +03:00
2026-09-27 13:38:45 +03:00
2026-09-27 13:38:45 +03:00
2026-09-27 18:57:27 +03:00
2026-09-27 13:38:45 +03:00
2026-09-27 14:36:42 +03:00
2026-09-27 14:32:36 +03:00
2026-09-27 14:58:51 +03:00
2026-09-27 17:18:15 +03:00
2026-09-27 17:39:22 +03:00
2026-09-27 18:12:19 +03:00
2026-09-27 20:22:13 +03:00
2026-09-27 20:22:13 +03:00
2026-09-27 20:22:13 +03:00
2026-09-27 20:22:13 +03:00
2026-09-27 20:58:19 +03:00
2026-09-27 20:58:19 +03:00
2026-09-27 20:58:19 +03:00
2026-09-28 17:45:39 +03:00
2026-09-28 11:22:11 +03:00
2026-09-28 11:39:27 +03:00
2026-09-28 19:30:10 +03:00
2026-09-28 21:55:29 +03:00
2026-09-28 21:55:29 +03:00
2026-09-28 22:07:48 +03:00
2026-09-28 22:22:04 +03:00
2026-09-29 15:29:45 +03:00
2026-09-30 15:57:40 +03:00
2026-09-30 22:50:11 +03:00
2026-09-29 15:29:45 +03:00
2026-09-29 16:17:54 +03:00
2026-09-29 17:50:58 +03:00
2026-09-29 17:50:58 +03:00
2026-09-29 18:17:36 +03:00
2026-09-30 11:20:47 +03:00
2026-09-30 12:24:49 +03:00
2026-09-30 13:34:00 +03:00
2026-09-30 16:42:02 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 19:48:29 +03:00
2026-10-03 22:01:37 +03:00
2026-10-04 12:41:53 +03:00
2026-10-08 17:12:13 +03:00
2026-10-08 17:12:13 +03:00
2026-10-08 20:24:48 +03:00
2026-09-30 18:59:06 +03:00
2026-09-30 18:59:06 +03:00
2026-10-01 12:38:01 +03:00
2026-10-01 12:38:01 +03:00
2026-10-01 12:38:01 +03:00
2026-09-30 22:50:11 +03:00
2026-09-30 22:50:11 +03:00
2026-09-30 22:50:11 +03:00