From 8096dfcaed25c4652cf32bcef26d3315e9a13adf Mon Sep 17 00:00:00 2001 From: Charles Dufour Date: Thu, 21 Sep 2023 16:00:01 +0200 Subject: [PATCH] [TRELLO-2007] Fix brand in pdf --- app/views/fragments/address.scala.html | 1 + app/views/pdfs/report.scala.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/app/views/fragments/address.scala.html b/app/views/fragments/address.scala.html index 2faf77487..c8b9e8c15 100644 --- a/app/views/fragments/address.scala.html +++ b/app/views/fragments/address.scala.html @@ -2,6 +2,7 @@ @(company: Company, includeSiret: Boolean = false) @company.name
+@company.brand
@company.address.toArray.map { ligne => @ligne
} diff --git a/app/views/pdfs/report.scala.html b/app/views/pdfs/report.scala.html index 8d0b3e8b7..64b74a18e 100644 --- a/app/views/pdfs/report.scala.html +++ b/app/views/pdfs/report.scala.html @@ -133,6 +133,9 @@

@Messages("reportPDF.report.companyHeader")

@report.companyName.map { companyName =>
@companyName
} + @report.companyBrand.map { companyBrand => +
@companyBrand
+ }
@views.html.fragments.proAddressForConsumer(maybeCompany)