Calendar
Last modified with commit a995415 on
by hip3r.
Vozni park is a separate module for managing the company’s shared vehicle fleet: vehicles used for rentals, journalist test cars, and other non-Events purposes.
The calendar shows the booking status of all vehicles from the general inventory (Inventar / Popis vozila), regardless of which area they’re designated for - both Vozni park vehicles and Događaji (Events) vehicles appear on the same calendar.
Vehicles are grouped into two sections. This is defined when user adds a new vehicle to the general vehicle inventory:
- Vozni park - further grouped by purpose (Namen): IT, Postprodaja, Novinarji, Veliki kupci, etc., with a vehicle count shown per group. *NICE TO HAVE, can be left out
- Događaji
For each vehicle, the calendar shows:
- Brand, model and registration plate as the row label.
- A timeline with a colored blue bar for each reservation in Vozni park.
- Each reservation bar is labeled with company name, customer name, or both, for example “Jutranji list”, “Ana Horvat”, or “Jutranji list - Ana Horvat”.
- The reservation bar spans across the booked dates.
- A timeline with a colored green bar for each period the vehicle is added to an event, labeled with the event name.
- Periods where the vehicle is marked “Neispravno” (grey color) on its inventory page are also shown as a blocked period directly on the timeline. Vehicle set as “Neispravno” is shown as Neispravno for all future dates.
Calendar does not display the dates from the pickup/return records. The calendar only shows dates and status based on the reservations made. If they wish to have an accurate calendar, the Manager of Vozni park should manually change the reservation dates if there was a change from the reservation to the actual pickup/return.
Times of reservation and times of pickup/return records are not connected and can differ.
Past reservations can also be edited.
If user wants to add a car as “out of order” for a certain period, they need to make a new reservation for that period and write “Odjava” / “Out of order” or similar as the customer name. This is shown in blue.
Hovering over a vehicle shows a tooltip with additional vehicle info: chassis number and color.
Clicking an existing reservation bar opens a menu with options to edit the reservation, open its handover protocol (“zapisnik o preuzimanju”), or remove the reservation.