fix(demande): show updated dossier date with proper attribute

This commit is contained in:
Colin Darie 2023-06-27 17:18:57 +02:00
parent f5bd129218
commit 109e9434e1

View file

@ -2,8 +2,8 @@
%p.fr-my-2w.fr-px-4v
= t(:submitted_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.depose_at))
%br
- if dossier.updated_at != dossier.depose_at
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.updated_at))
- if dossier.last_champ_updated_at.present? && dossier.last_champ_updated_at > dossier.depose_at
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: l(dossier.last_champ_updated_at))
- if dossier.justificatif_motivation.attached?