Commit Graph

15 Commits

Author SHA1 Message Date
3066754821 feat: add admin settings system and improve customer/pricing endpoints
Add centralized admin settings (company info, social links, quick calls,
sidebar visibility toggles, theme, logo upload) with singleton pattern
and full CRUD API. Add active/dedicated customer count endpoints for
dashboard stats. Fix automatic assignment route to use PUT instead of
GET. Refactor oil price endpoint to use schema serialization with null
safety.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 18:45:06 -05:00
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
eb4740c553 Updated claude big changes 2026-01-29 08:43:56 -05:00
2dbd3ea53f major claude changes 2026-01-28 21:55:10 -05:00
5e5b9274e1 added pending waiting 2024-10-30 17:04:58 -04:00
b3f0e85574 updated forms 2024-10-24 11:51:14 -04:00
5649294be0 major update 2024-10-17 17:01:24 -04:00
fec638a5c8 added checks emergency fixed bugs 2024-09-27 14:13:44 -04:00
0e827053de added checks and finalize ticket 2024-09-26 20:01:13 -04:00
d77c4e2478 Stats working 2024-08-06 11:08:29 -04:00
93fc535eaf small coding fixes 2024-07-29 13:46:07 -04:00
2a4804ecb2 Fixed errors 2024-04-04 16:37:57 -04:00
6fab39bf86 working money and delivery dates 2024-03-29 19:56:59 -04:00
666d0895e4 unsure 2024-03-28 10:36:00 -04:00
b71bbe2dc5 first commit 2024-02-28 16:10:40 -05:00