From 2b283503a6a33582a38e8758ab05fa2049f08620 Mon Sep 17 00:00:00 2001 From: ssedoudbgouv <85867707+ssedoudbgouv@users.noreply.github.com> Date: Fri, 29 Sep 2023 18:36:11 +0200 Subject: [PATCH] Trello 2016 (#1457) * TRELLO-2016 : add consumer data to email --- .../reportDangerousProductNotification.scala.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/views/mails/dgccrf/reportDangerousProductNotification.scala.html b/app/views/mails/dgccrf/reportDangerousProductNotification.scala.html index 5be8bb546..71649a960 100644 --- a/app/views/mails/dgccrf/reportDangerousProductNotification.scala.html +++ b/app/views/mails/dgccrf/reportDangerousProductNotification.scala.html @@ -23,6 +23,17 @@ padding-top: 20px; padding-bottom: 20px" > + + Consommateur +
+ @report.firstName @report.lastName +
+ Email : @report.email.value +
+ @report.phone.map{ phone => + @Html("TĂ©lephone : ")@Html(phone) + } +
Problème
@ReportCategory.displayValue(report.category)