#4808 procedure closing date starts now at midnight instead of 00h00 in the morning
This commit is contained in:
parent
cc3213a0b9
commit
9b9eeb7476
3 changed files with 15 additions and 6 deletions
|
@ -106,12 +106,14 @@
|
|||
= f.text_field :web_hook_url, class: 'form-control', placeholder: 'https://callback.exemple.fr/'
|
||||
|
||||
= f.label :auto_archive_on do
|
||||
Clôture automatique à 00h01 le :
|
||||
= f.date_field :auto_archive_on, id: 'auto_archive_on', value: @procedure.auto_archive_on
|
||||
|
||||
%p.explication
|
||||
La clôture automatique suspend la publication de la démarche et entraîne le passage de tous les dossiers "en construction"
|
||||
(c'est à dire ceux qui ont été déposés), au statut "en instruction", ce qui ne permet plus aux usagers de les modifier.
|
||||
Date limite de dépôt des dossiers
|
||||
%p.notice
|
||||
Si une date est définie, aucun dossier ne pourra plus être déposé ou modifié après cette limite.
|
||||
%p.notice
|
||||
Le
|
||||
- value = @procedure.auto_archive_on ? @procedure.auto_archive_on - 1.day : nil
|
||||
= f.date_field :auto_archive_on, id: 'auto_archive_on', value: value
|
||||
à 23 h 59
|
||||
|
||||
= f.label :declarative_with_state do
|
||||
Démarche déclarative
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue