Merge pull request #10067 from demarches-simplifiees/etq-usager-je-vois-les-coord-de-mon-gi-dans-l-attestation-de-depot

ETQ usager je vois les informations de contact de mon groupe instructeur (si elles existent) dans mon attestation de dépôt
This commit is contained in:
Eric Leroy-Terquem 2024-03-06 09:57:49 +00:00 committed by GitHub
commit 60544f6cdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -21,4 +21,7 @@ class ContactInformation < ApplicationRecord
"tel:#{telephone.gsub(/[[:blank:]]/, '')}"
end
end
def organisme
end
end

View file

@ -891,11 +891,11 @@ class Dossier < ApplicationRecord
.passer_en_construction
.processed_at
save!
RoutingEngine.compute(self)
MailTemplatePresenterService.create_commentaire_for_state(self, Dossier.states.fetch(:en_construction))
NotificationMailer.send_en_construction_notification(self).deliver_later
NotificationMailer.send_notification_for_tiers(self).deliver_later if self.for_tiers?
procedure.compute_dossiers_count
RoutingEngine.compute(self)
end
def submit_en_construction!

View file

@ -75,7 +75,7 @@ prawn_document(margin: [top_margin, right_margin, bottom_margin, left_margin], p
pdf.text t('.dossier_state') + ' : ' + papertrail_dossier_state(@dossier), size: 10, character_spacing: -0.2, align: :justify
end
service = @dossier.procedure.service
service = @dossier.service
if service.present?
pdf.fill_color black
pdf.pad_top(30) { pdf.text t('.administrative_service'), size: 14, character_spacing: -0.2, align: :justify }