5.2 Booking timeline in car rental software

“Timeline” is the booking timeline of the car rental software — a table where the calendar meets your fleet: the list of vehicles on the left, the days across the top, and at the intersections bars that mark bookings and service orders. The timeline shows at a glance which vehicle is free and which is busy, and you can move a booking to other dates or to another vehicle simply by dragging its bar.

Where to find it

  1. Open the “Planner” section → the “Timeline” subsection (address /admin/planner?view=timeline).
  2. At the top, next to the heading, is the view switch “Daily plan” | “Timeline”: the selected date is kept when you switch.
  3. The item is visible to an employee with the right “work with the timeline” (see Rights groups); the main user of the company always sees it.

How the booking timeline is laid out

  • The “Vehicle” column on the left — all the vehicles of the fleet, including free ones: photo, name, registration number, the vehicle's number in the company and its colour (if it is set in the card). The column stays in place when you scroll to the right.
  • Day header — the day of the week and the date. The column of the current day (by the company's time zone, see Time zone) is highlighted.
  • Bars — bookings and service orders: a bar starts on the pick-up day and ends on the return day. The colour of the bar is the booking status.
  • On hover, the vehicle row and the day column under the cursor are highlighted — this makes it easier to see which date you are looking at.

The timeline starts from the selected day and covers at least 90 days ahead. Cancelled and rejected bookings do not appear on the timeline.

Timeline: hint (1), status legend (2), booking bar (3), filters, date and zoom (4).
Timeline: hint (1), status legend (2), booking bar (3), filters, date and zoom (4).

Status legend

Above the timeline is the colour legend (the “i” icon next to it gives the hint “Booking statuses on the timeline”):

  • “Draft”, “Request”, “Reserved”, “Rental”, “Open”, “Done” — booking statuses;
  • “In service” — a service order that has not been completed yet (planned or in progress). A completed service order is coloured like “Done”.

What is written on a bar

A wide bar shows the booking number (“ID …”), the “From” and “To” dates, “Total price”, “Due balance” and “Driver”. A shorter bar keeps the number and the due balance, and the narrowest one only the “i” icon. A service order shows the name of the work and the dates instead of a number. When you hover over a booking bar, a card pops up: number, status, “From”, “To”, “Driver”, “Total price” and “Due balance”; for a service order — status, “From”, “To” and the name of the work.

Controlling the timeline

  • Date field — opens a calendar: the selected day becomes the first day of the timeline.
  • Zoom buttons — the leftmost button with arrows zooms out a lot at once, the two magnifying glasses zoom out and in step by step, and the button with arrows pointing right zooms in a lot at once. The zoom also changes with the mouse wheel while holding the Ctrl key (Cmd on a Mac).
  • Full screen — the last button expands the timeline together with the panel to the full screen; clicking it again brings back the normal view.
  • Scrolling — move the timeline horizontally with the wheel while holding Shift, or by dragging an empty place of the timeline with the mouse.

Filters

The “Filters” button opens the filter panel. The selection is applied at once, and at the bottom there are the “Reset” and “Apply” buttons:

  • Search — by brand, model or registration number.
  • Vehicle group — fleet groups (you can tick several, see Vehicle groups).
  • Vehicle status — the status of the vehicle itself in the fleet.
  • Reservation status — leaves only bookings with the selected statuses on the timeline (this filter does not hide service orders).
  • Location — the base location of the vehicle.
  • Sorting — the order of the rows: “Actions count”, “By id”, “Registration number” or “Alphabet a-z”.
The “Filters” panel of the timeline: “Search” (1), “Vehicle group” (2), “Vehicle status” (3), “Reservation status” (4), “Location” (5), “Sorting” (6), “Reset” and “Apply” (7).
The “Filters” panel of the timeline: “Search” (1), “Vehicle group” (2), “Vehicle status” (3), “Reservation status” (4), “Location” (5), “Sorting” (6), “Reset” and “Apply” (7).

What you can do with the mouse

With the mouse you open bookings on the timeline, move them to other dates and vehicles, stretch them, swap them and scroll the timeline itself. Each action is described below in order.

Opening a booking and the bar menu

  • A click on the bar of a booking that can be moved opens its card (see Booking form).
  • A right click on any bar (and, for a bar that cannot be moved, a double click too) opens a menu:
    • “View event” — a window with the vehicle, the “From” and “To” dates, the amount, the due balance, the driver, the pick-up and return places and the comment; it has an “Open reservation” button. For a service order — the name of the work and a “Maintenance” button that leads to the list of service orders.
    • “Open reservation” — the booking card (a service order has no such item).
    • “Delete” — deletes the booking together with its payments after confirmation. The item is available only for a draft, a cancelled and a rejected booking, and only to the main user of the company (see Cancelling or deleting a booking).

Dragging a booking

Point at the booking bar, press the left mouse button and drag. While you drag, the new “From” and “To” dates are shown next to the cursor:

  • Left and right — shifts the booking along the dates. The duration does not change: the start and the end move together, and the time goes in 15-minute steps — the bar moves in increments along the grid.
  • Up and down onto the row of another vehicle — moves the booking to that vehicle. You can also drag diagonally — then both the vehicle and the dates change. A booking cannot be moved onto the row of a deleted vehicle.
  • By the right edge of the bar (by the handle that sticks out at the edge) — stretches or shortens the booking: only the return date and time change, the start stays where it is. A booking cannot become shorter than 15 minutes.
  • If you release the bar without moving it, it is an ordinary click — the booking card opens.

Confirmation

Before saving, the cabinet asks “Are you sure?” — “This action will change event ID …” — and shows what it was and what it will be: the vehicle with its registration number and the “From” and “To” dates. The previous value is struck through, and the new one stands under it with a “↳” arrow; whatever has not changed is shown once. “Yes” saves the move — “Reservation moved” appears; “No” puts the bar back in place.

Swapping two bookings

If you release the bar over exactly one other booking, the cabinet offers to swap them: “This action will swap events ID … ⇄ ID …”.

  • On the same vehicle the bookings swap dates: each one takes the start of the other and keeps its own duration.
  • On another vehicle the bookings swap vehicles, and the dates of both stay as they were (even if the bar was also shifted in time).
  • There is no swap when you stretch by the edge, when the bar crosses two or more bookings, a service order, or a completed, cancelled or rejected booking. A draft does not occupy the vehicle: you can drop a bar over it as onto a free place.
  • If after the swap the bookings would run into the neighbouring ones, the cabinet replies “Can't swap events due to conflicts with others”.

When a move is not saved

  • An overlap with another booking (not the one a swap is offered with) while the “Overbooking” module is turned off — the “Overlap not allowed” window appears with the path to the setting (Settings → 1. System and Modules → Enabled modules → Overbooking) and, for those who have access to the settings, also an “Open settings” button. A completed booking on the timeline counts as busy time too.
  • The vehicle is in service — a booking cannot be moved to dates when the vehicle has an open service order, whatever the “Overbooking” setting: the cabinet names the reason and suggests choosing other dates or another vehicle, or changing the period of the service order in “Vehicles” → “Maintenance”.
  • Closed bookings and service orders do not move at all: completed, cancelled and rejected bookings and service orders have neither dragging nor a handle on the right edge.
  • Rights. An employee with the right “Edit order” can move bookings if they also have the right “Work with all orders and payments” or “Edit only own orders” (see Rights groups). Without them the bars cannot be dragged.

Scrolling and zoom

  • The wheel without any keys scrolls the page as usual.
  • Shift + wheel — scrolls the timeline along the dates (right and left).
  • Ctrl + wheel (Cmd on a Mac) — zoom: up — larger, down — smaller.
  • Dragging an empty place of the timeline (not a bar) — shifts the timeline along the dates, like panning.

A new booking or service for a vehicle

When you hover over a vehicle row, a “+” button appears on the border between the “Vehicle” column and the timeline. It opens the “Add action for …” window with two buttons:

  • “Add reservation” — a new booking for this vehicle (the right “Create order” is needed; see Booking form);
  • “Add service” — a new service order for it (the “Maintenance” module and the right “Create a maintenance order” are needed; see Service order).

While the company has no vehicles at all, a placeholder is shown under the day scale: “Your vehicles’ occupancy by day will be displayed here.”, with an invitation to add the first one. If it is empty because of the filters, the message is “No results found.”.

When you hover over a vehicle row, a “+” appears next to its name (1).
When you hover over a vehicle row, a “+” appears next to its name (1).
A click on “+” opens the “Add action for …” window: “Add reservation” (2) and “Add service” (3).
A click on “+” opens the “Add action for …” window: “Add reservation” (2) and “Add service” (3).