Pocro Vento Documentation

Backend: Zapisnik o vraćanju (return form)

GitHub Issue: #196

Last modified with commit 7a580a0 on by Aljaž.

Backend task for saving and completing the return record (POST /drivepark/records/{recordId}/return) – check the API spec and DB structure, save return drafts without changing the status, complete the return with signatures, PDF and e-mail, implement, and verify against the spec.

Docs: Zapisnik o vraćanju (return form) Spec: POST /drivepark/records/{recordId}/return (saveDriveParkRecordReturn), DriveParkRecordReturnRequest, DriveParkRecordSigning, DriveParkRecordDetail, DriveParkRecordConflict in api-docs/openapi.yaml DB: DriveParkRecords (Return* columns) in api/database/pending_schema.sql (-- DRIVE PARK --)

1. Double check API spec and DB structure

2. Implementation

3. Verify implementation against spec

Done when

A Manager of Vozni park can fill in, save and sign the return, and the record becomes Vraćeno.