Commit Graph

26 Commits

Author SHA1 Message Date
LagoESP 30e296f61b feat: rework admin portal with pricing breakdown and document management
- Added pricing snapshot columns to the leads table: daily_subtotal, weekend_subtotal, subtotal_eur, vat_eur, total_eur, deposit_eur, total_days, weekday_count, weekend_day_count.
- Updated create_lead RPC to accept and store new pricing parameters.
- Enhanced frontend app.js to compute and send pricing details during lead creation.
- Introduced new UI elements in admin.html for displaying pricing and documents in a tabbed dialog.
- Updated i18n.js with new translation keys for pricing and document management.
- Improved styles in styles.css for new dialog components and pricing cards.
- Added migration script 06-admin-pricing-documents.sql for database schema changes.
2026-04-29 17:27:37 +02:00
LagoESP bc61ffa206 feat: add RPC for public lead creation and update migrations in docker-compose files
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 16:33:01 +02:00
LagoESP e85b319c93 feat: add deposit and weekend km allowance to vehicles, update migrations and booking flow
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 16:00:06 +02:00
LagoESP d960e37aa8 feat: enhance booking flow with BPF wizard, weekend pricing, and document uploads
- Updated translations for German and English to reflect changes in deposit terminology.
- Modified index.html to implement a new booking flow with a step-by-step wizard for vehicle selection, contact details, and ID verification.
- Added CSS styles for the new booking flow interface, including responsive design and improved input styles.
- Created new database policies and tables for handling customer and lead attachments during the booking process.
- Introduced weekend pricing and daily KM limits for vehicles in the database schema.
- Implemented email-based customer upsert functionality to streamline lead qualification and attachment transfer.

Co-authored-by: Copilot <copilot@github.com>
2026-04-29 15:01:25 +02:00
LagoESP d17fe0651e feat: add docker-compose configuration, new Ferrari image, and update SQL permissions 2026-04-29 12:33:11 +02:00
LagoESP 4b69c03761 Add custom ferrari pcture 2026-04-29 09:13:59 +02:00
Lago 7be18fc08c fix(styles): fix contrast ratio for nav buttons overriding global btn styles 2026-04-18 00:06:18 +02:00
Lago 6f5cf6c42c chore: accessibility improvements (aria-labels, roles, semantic dialog) 2026-04-18 00:05:11 +02:00
Lago ac8f1a8d9b style: enhance main website UI, focus states, animations, spacing and hover effects 2026-04-18 00:03:41 +02:00
Lago 1820f7d766 feat(admin): replace checkbox with toggle-switch slider, add i18n multilanguage 2026-04-18 00:01:03 +02:00
Lago c5fa51ce63 style(admin): add animations, hover states, transitions 2026-04-17 23:56:21 +02:00
Lago b6659a6d3a style: revert Admin UI to main website dark theme color schema 2026-04-17 23:54:03 +02:00
Lago 5d68dc173c style: fix Fluent UI contrast and accessibility 2026-04-17 23:52:28 +02:00
Lago 1e5895592a feat(admin): migrate admin UI to Microsoft Fluent web components 2026-04-17 23:46:57 +02:00
Lago fb0f81fbe5 docs: update README — remove chmod, add two-var env model, full NPM nginx config 2026-04-17 23:09:58 +02:00
Lago 00d08713ea docs: update AGENT.md + ARQUITECTURE.md — inline entrypoint, NPM full config, env vars, Unraid notes 2026-04-17 23:08:47 +02:00
Lago 1498ec78c3 fix: generate config.js inline via entrypoint — Unraid doesn't preserve execute bits on bind mounts 2026-04-17 23:04:03 +02:00
Lago bb7a90ea74 fix: remove all hardcoded localhost, cache-bust config.js, gitignore generated config.js 2026-04-17 22:58:14 +02:00
Lago 27c55f3e69 refactor: derive GoTrue URLs from SITE_URL + SUPABASE_PUBLIC_URL — only 2 vars to change between local and prod 2026-04-17 22:34:18 +02:00
Lago 1b72c53f9b fix: update SUPABASE_URL to use port 55521 for local development 2026-04-17 19:16:54 +02:00
Lago e0a2cf96cc fix: remove :ro from web html mount so 99-config.sh can write config.js 2026-04-17 19:05:25 +02:00
Lago c1c9063996 docs: update README, AGENT, ARQUITECTURE for 555xx ports, Portainer deploy, absolute paths 2026-04-17 18:54:30 +02:00
Lago 8b0a25f9c3 chore: remap external ports to 555xx range to avoid host collisions 2026-04-17 18:50:49 +02:00
Lago 5865f796ce feat: Portainer-compatible stack — no build step, bind-mount web service, LF-enforced shell scripts 2026-04-17 18:41:41 +02:00
Lago 73aa72b7ee fix: admin panel — password rotation, vehicle edit DOM clash, nginx cache headers 2026-04-17 17:58:12 +02:00
Lago 61517879e1 feat: Add Supabase configuration and migrations for MC Cars application
- Create Kong declarative configuration for routing and authentication.
- Implement initialization script to set up the database.
- Add SQL migration for initializing roles, schemas, and seeding vehicle data.
- Create leads and customers tables with appropriate policies and functions for CRM.
- Seed admin user and configure storage bucket with RLS policies.
2026-04-17 17:50:57 +02:00