From 153e832649f367622f65b7ad629f48720773a8f9 Mon Sep 17 00:00:00 2001 From: Nicolas CARON Date: Mon, 16 Dec 2024 14:41:52 +0100 Subject: [PATCH] Add VehicleBookingsCreateDiag - second route to create a diag in reservation --- config.yaml | 4 + web/layouts/vehicles/booking-display.html | 5 + web/layouts/vehicles/create-booking-diag.html | 116 ++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 web/layouts/vehicles/create-booking-diag.html diff --git a/config.yaml b/config.yaml index 1e1083a..7e23f78 100644 --- a/config.yaml +++ b/config.yaml @@ -63,10 +63,14 @@ views: booking_display: files: - web/layouts/vehicles/booking-display.html + - web/layouts/vehicles_management/_partials/booking-diags.html bookings_list: files: - web/layouts/vehicles_management/_partials/bookings-list.html - web/layouts/vehicles/bookings-list.html + create_booking_diag: + files: + - web/layouts/vehicles/create-booking-diag.html vehicles_management: overview: files: diff --git a/web/layouts/vehicles/booking-display.html b/web/layouts/vehicles/booking-display.html index 21d19c3..64f45dc 100644 --- a/web/layouts/vehicles/booking-display.html +++ b/web/layouts/vehicles/booking-display.html @@ -66,6 +66,11 @@ +
+
+ {{template "booking_diags" .}} +
+
diff --git a/web/layouts/vehicles/create-booking-diag.html b/web/layouts/vehicles/create-booking-diag.html new file mode 100644 index 0000000..bbe3220 --- /dev/null +++ b/web/layouts/vehicles/create-booking-diag.html @@ -0,0 +1,116 @@ +{{define "content"}} + +
+

Ajouter un diagnostic

+
+ +
+
+
+
+
+

Informations obligatoires

+

Informations obligatoires + pour créer un diagnostic dans PARCOURSMOB

+
+
+
+
+ + +
+
+
+
+
+ +
+
+
+

Schéma JSON

+

Schéma JSON pour le diagnostic

+
+
+
+
+ + +
+
+
+
+
+
+
+
+

Schéma UI

+

Schéma UI pour le diagnostic

+
+
+
+
+ + +
+
+
+
+
+
+

Certains champs de sont pas valides.

+ + + + +
+
+
+{{end}} \ No newline at end of file