Pocro Vento Documentation

Zapisnici list

Figma Component: https://www.figma.com/design/NWu7ssnTfTJHFNDy13CnUt/Aplikacija-Vento---UI?node-id=2059-16886

GitHub Issue: #184

Last modified with commit e90a924 on by Aljaž.

The "Zapisnici o primopredaji vozila" list of all pickup/return records, with columns Vozilo, Korisnik, Razdoblje (the record's Rok korištenja), Status (Draft / Preuzeto / Vraćeno), Zapisnik o preuzimanju and Zapisnik o povratku. Depending on the status, the record columns open the pickup or return form, open the read-only view, or download the PDF. It has search by vehicle or user, a "+ NOVI ZAPISNIK O PREUZIMANJU" button, pagination, and "Ukloni zapisnik" for Draft records only, with the standard delete confirmation modal.

Users with access to Vozni park open the list from the side menu: Vozni park → Zapisnici. It lists all vehicle pickup/return records.

Conflict for the assignee to check: the spec says the list shows protocols “tied to Vozni park reservations”. These docs don’t link records to reservations (see Kalendar zauzetosti).

Page title: “Zapisnici o primopredaji vozila”. Breadcrumb: Zapisnici.

List columns

Conflict for the assignee to check: the column is “Zapisnik o povratku” (Figma), but the button, the page title and the breadcrumb say “Zapisnik o vraćanju”.

Statuses and actions

StatusZapisnik o preuzimanjuZapisnik o povratku
Draft“Otvori zapisnik o preuzimanju” (form)empty
Preuzeto“Otvori zapisnik o preuzimanju” (view), “Download PDF”“Otvori zapisnik o vraćanju” (form)
Vraćeno“Otvori zapisnik o preuzimanju” (view), “Download PDF”“Otvori zapisnik o vraćanju” (view), “Download PDF”

There are two PDFs per record: the pickup PDF (Zapisnik o preuzimanju) and the return PDF (Zapisnik o vraćanju).

Conflict for the client to decide: the spec (“Both columns show ‘Download PDF’ only”) and Figma show only “Download PDF” for completed records, with no button to open the view. These docs add “Otvori zapisnik o preuzimanju” / “Otvori zapisnik o vraćanju” next to it to open the view pages.

Status tag colors in Figma: Draft orange, Preuzeto red, Vraćeno grey.

Figma uses the red error color for Preuzeto, which reads as a problem. Recommended: a neutral or positive color, e.g. blue. “Download PDF” (Figma) is in English; the rest of the app is in Croatian.

Sorting and pagination

The list is paginated ("‹ 1 2 … 8 ›").

Not specified: page size and sorting. Recommended: 10 records per page, sorted by Razdoblje Od, newest first.

Deleting a record

Only Draft records can be deleted. Preuzeto and Vraćeno records cannot be deleted.

Clicking the three dots icon on a Draft row opens a menu with “Ukloni zapisnik” (red, with a trash icon), which opens a confirmation modal.

Figma (the same modal, for a reservation): https://www.figma.com/design/NWu7ssnTfTJHFNDy13CnUt/Aplikacija-Vento---UI?node-id=2059-15950

The modal is the same as the other delete modals in the app:

Not specified: can a saved return draft be discarded? The record stays Preuzeto, and the list has no delete action for Preuzeto. Recommended: no; the return draft is simply overwritten when the return is completed.