- Merge separate 'Hauptfoto' and 'Weitere Fotos' uploads into single upload zone
- Add drag-and-drop support for photo reorder
- Add ← → arrow buttons for photo reorder
- Increase thumbnail size to 200px
- Show Hauptfoto badge, ★ set primary, × delete on each thumbnail
- Auto-promote next photo when primary is deleted
- Keep vehicle.photo_url synced with primary photo
style(admin): increase max-width of admin page and adjust table styles
fix(n8n): enhance workflow import and publishing process
fix(workflows): update SQL queries for fetching and updating sales orders
feat(migrations): normalize rental types and enhance email guard for individuell rentals
feat(migrations): add RPC for updating deposit in sales orders
fix(migrations): ensure individuell orders persist net/vat components and backfill existing records
test: update last run status to failed
- Implemented a new n8n workflow for manual email sending, including webhook trigger, order data fetching, email building, and sending.
- Added logic to format email content with customer and order details.
- Introduced new columns in the sales_orders table to track email sending status.
- Updated database functions to handle new rental types and email status.
- Created new RPCs for updating email status and retrieving email details for sales orders.