feat: P2.8 Resources/Equipment Booking (PostgreSQL + VNCdirectory)

- PostgreSQL schema: resources + resources_bookings tables with indexes
- Server-side client with PG pool + in-memory fallback for dev
- API routes: list, get, availability check, book, cancel
- Resource store (Zustand) for client-side state
- ResourcePicker component: type filter, search, availability dots
- Integrated into event-modal: auto-book on save, auto-cancel on delete
- Integrated into free-busy-view: resource availability rows
This commit is contained in:
Bernd Rodler
2026-08-07 13:45:09 +02:00
parent 13ec05da83
commit 4fcd37650d
12 changed files with 1030 additions and 4 deletions
+13
View File
@@ -3006,6 +3006,19 @@
"due_today": "Today",
"due_tomorrow": "Tomorrow",
"overdue": "Overdue"
},
"resources": {
"title": "Resources",
"hide": "Hide resources",
"filter_all": "All",
"type_room": "Rooms",
"type_vehicle": "Vehicles",
"type_equipment": "Equipment",
"type_other": "Other",
"search_placeholder": "Search resources...",
"no_resources": "No resources available",
"remove": "Remove {name}",
"clear_all": "Clear all"
}
},
"sharing": {