Commit Graph

15 Commits

Author SHA1 Message Date
anekdotin 60f9eee202 fix: widen house_factor precision in Customer_estimate_gallons model
Updated DECIMAL(5,2) to DECIMAL(7,4) to match the DB column (now altered
to NUMERIC(7,4)) and the auto.py model — prevents calibrated K-factors from
being silently truncated to 2 decimal places on read/write.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 15:05:38 -04:00
anekdotin 6d5f44db55 feat: 5-tier pricing, market ticker integration, and delivery stats
Major update spanning pricing, market data, and analytics:

- Pricing: Replace single-price service fees with 5-tier pricing for
  same-day, prime, and emergency deliveries across create/edit/finalize
- Market: Add Ticker_Price and CompanyPrice models with endpoints for
  live commodity prices (HO, CL, RB) and competitor price tracking
- Stats: Add daily/weekly/monthly gallons endpoints with multi-year
  comparison and YoY totals for the stats dashboard
- Delivery: Add map and history endpoints, fix finalize null-driver crash
- Schema: Change fill_location from INTEGER to VARCHAR(250), add
  pre_load normalization for customer updates, fix admin auth check

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 17:54:30 -05:00
anekdotin 3f311980db updated readme.txt 2026-01-18 19:03:16 -05:00
anekdotin 059e142116 Working site 2026-01-05 08:44:09 -05:00
anekdotin 8d9ecf6935 Adding authnet not tested 2025-09-15 15:30:16 -04:00
anekdotin 86ec25a499 added maps 2024-11-20 18:01:14 -05:00
anekdotin b3f0e85574 updated forms 2024-10-24 11:51:14 -04:00
anekdotin 5649294be0 major update 2024-10-17 17:01:24 -04:00
anekdotin d0641950f9 dynamic database 2024-10-07 22:58:17 -04:00
anekdotin d7c809af82 added description 2024-09-18 12:48:12 -04:00
anekdotin 2a266eea23 Updated auto 2024-07-02 16:56:18 -04:00
anekdotin ca3ebf9f9b Updated auto 2024-06-25 17:57:53 -04:00
anekdotin 2433dbb447 Updated 2024-05-16 14:36:14 -04:00
anekdotin 666d0895e4 unsure 2024-03-28 10:36:00 -04:00
anekdotin b71bbe2dc5 first commit 2024-02-28 16:10:40 -05:00