Cauê Faleiros
31b44a4fac
refactor: one pricing module for the Site's check and the approval
...
app/cart_pricing.py prices a cart once for every caller: the catalog read
once, a pure price_items (base price, manual extra, splits, bands) pinned
against today's arithmetic by a 16-cart characterization test, then the
grade rules, the coupon and the treatment. create_quote and approve call
it instead of their two drifting copies; the Site's pre-check now counts
the manual-file extra like the approval does.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com >
2026-11-09 17:12:49 -03:00
..
2026-11-09 17:12:49 -03:00
2026-10-23 14:15:23 -03:00
2026-11-09 16:47:28 -03:00
2026-11-09 16:47:28 -03:00
2026-09-21 17:40:57 -03:00
2026-11-06 15:27:48 -03:00
2026-11-09 14:14:25 -03:00
2026-11-06 10:41:20 -03:00
2026-11-09 16:11:30 -03:00
2026-11-09 17:12:49 -03:00
2026-11-09 16:13:30 -03:00
2026-10-16 13:33:50 -03:00
2026-10-15 13:47:53 -03:00
2026-10-15 13:47:53 -03:00
2026-11-09 15:24:44 -03:00
2026-10-15 13:47:53 -03:00
2026-11-09 10:45:43 -03:00
2026-11-09 16:13:30 -03:00
2026-11-03 17:05:08 -03:00
2026-09-29 09:34:01 -03:00
2026-10-15 14:41:23 -03:00
2026-11-09 12:19:31 -03:00
2026-11-09 12:50:48 -03:00
2026-11-09 12:19:31 -03:00
2026-10-19 09:18:20 -03:00
2026-11-09 15:24:44 -03:00
2026-09-29 14:18:45 -03:00
2026-10-16 13:33:50 -03:00
2026-11-09 16:11:30 -03:00
2026-10-19 15:31:59 -03:00
2026-10-15 13:47:53 -03:00
2026-10-06 15:54:14 -03:00
2026-11-09 15:27:04 -03:00
2026-11-06 11:02:39 -03:00
2026-11-09 10:45:43 -03:00
2026-11-06 10:41:20 -03:00
2026-11-06 11:02:39 -03:00
2026-11-03 20:10:03 -03:00
2026-11-06 15:27:48 -03:00
2026-11-09 10:45:43 -03:00
2026-11-09 17:12:49 -03:00
2026-11-09 15:24:44 -03:00
2026-11-09 11:39:15 -03:00
2026-11-09 13:50:45 -03:00
2026-10-27 11:17:20 -03:00
2026-11-09 16:13:30 -03:00
2026-10-27 16:02:55 -03:00
2026-11-09 15:24:44 -03:00
2026-11-09 10:01:26 -03:00
2026-11-09 16:24:07 -03:00