diff --git a/config.yaml b/config.yaml index 1a9c750..3f4b4e1 100644 --- a/config.yaml +++ b/config.yaml @@ -27,6 +27,7 @@ views: - web/layouts/beneficiaries/_partials/beneficiary-journeys.html - web/layouts/beneficiaries/_partials/beneficiary-events.html - web/layouts/beneficiaries/_partials/beneficiary-files.html + - web/layouts/beneficiaries/_partials/beneficiary-organizations.html - web/layouts/beneficiaries/display.html update: files: @@ -79,6 +80,7 @@ views: - web/layouts/agenda/home.html display_event: files: + - web/layouts/agenda/_partials/subscribers-table.html - web/layouts/agenda/display-event.html create_event: files: @@ -101,6 +103,19 @@ views: request: files: - web/layouts/support/support.html + group_module: + home: + files: + - web/layouts/group_module/home.html + create_group: + files: + - web/layouts/_partials/address_autocomplete.html + - web/layouts/group_module/create_group.html + + display_group: + files: + - web/layouts/group_module/display_group.html + administration: home: files: @@ -147,6 +162,7 @@ icons: coopgo:parcoursmob/monogram: hero:outline/briefcase: hero:outline/support: + hero:outline/group_module: hero:outline/calendar: hero:outline/chevron-right: hero:outline/cog: diff --git a/web/layouts/administration/home.html b/web/layouts/administration/home.html index 372307d..723af8a 100644 --- a/web/layouts/administration/home.html +++ b/web/layouts/administration/home.html @@ -43,7 +43,7 @@ class="flex-1 flex items-center justify-between border-t border-r border-b border-gray-200 bg-white rounded-r-3xl truncate">
diff --git a/web/layouts/agenda/_partials/subscribers-table.html b/web/layouts/agenda/_partials/subscribers-table.html new file mode 100644 index 0000000..9eb12ed --- /dev/null +++ b/web/layouts/agenda/_partials/subscribers-table.html @@ -0,0 +1,43 @@ +{{define "subscribers_table"}} ++ Bénéficiaire + | ++ Prescripteur + | ++ Date d'inscription + | ++ Actions + | +
---|---|---|---|
+ + {{ (index $.ViewState.subscribers .Subscriber).Data.first_name }} {{ (index $.ViewState.subscribers .Subscriber).Data.last_name }} + + | +
+ {{.Data.subscribed_by.user.display_name}}
+ {{.Data.subscribed_by.group.name}}
+ |
+ + {{(timeFormat .CreatedAt "02/01/2006")}} + | ++ + | +
Informations de base sur le groupe à créer
+Paramètres liés au groupe, utiles pour exploiter les fonctionnalités de PARCOURSMOB
+Type | ++ Véhicule + | Beneficiaire | @@ -33,21 +36,50 @@ {{range .ViewState.bookings}}|||
---|---|---|---|---|---|
+ {{if .Data.administrator_unavailability}} + + Retiré + + {{else}} + {{if eq .Status 1 }} + + A venir + + {{end}} + {{if eq .Status 0 }} + + En cours + + {{end}} + {{if eq .Status -1 }} + + Terminé + + {{end}} + {{end}} + |
Voiture
|
+ {{.Vehicle.Data.name}}
+ |
+ + {{if not .Data.administrator_unavailability}} + {{end}} |
+ {{if not .Data.administrator_unavailability}}
Du {{(timeFrom .Startdate).Format "02/01/2006"}} au {{(timeFrom .Enddate).Format "02/01/2006"}}
+ {{else}}
+ Du {{(timeFrom .Unavailablefrom).Format "02/01/2006"}} au {{(timeFrom .Unavailableto).Format "02/01/2006"}}
+ {{end}}
|
-
+ -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Changer de véhicule+
+
+
+
+
+
+
diff --git a/web/public/css/main.css b/web/public/css/main.css
index 29d872d..d9a2a7f 100644
--- a/web/public/css/main.css
+++ b/web/public/css/main.css
@@ -981,6 +981,10 @@ html {
margin-bottom: 2.5rem;
}
+.ml-8 {
+ margin-left: 2rem;
+}
+
.-mt-2 {
margin-top: -0.5rem;
}
@@ -1659,6 +1663,11 @@ html {
background-color: rgb(238 242 255 / var(--tw-bg-opacity));
}
+.bg-black {
+ --tw-bg-opacity: 1;
+ background-color: rgb(0 0 0 / var(--tw-bg-opacity));
+}
+
.bg-indigo-600 {
--tw-bg-opacity: 1;
background-color: rgb(79 70 229 / var(--tw-bg-opacity));
@@ -1669,11 +1678,6 @@ html {
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}
-.bg-black {
- --tw-bg-opacity: 1;
- background-color: rgb(0 0 0 / var(--tw-bg-opacity));
-}
-
.bg-gray-500 {
--tw-bg-opacity: 1;
background-color: rgb(107 114 128 / var(--tw-bg-opacity));
|