From: Yoan Le Clanche Date: Mon, 15 May 2023 13:35:04 +0000 (+0200) Subject: Fix AE pdf receipt : https://trackers.pilotsystems.net/prebarreau/0657 X-Git-Tag: 2.8.1-ae~35 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8707ba48ddb05e20976c581c0a9898f59fb1942d;p=teleforma.git Fix AE pdf receipt : https://trackers.pilotsystems.net/prebarreau/0657 --- diff --git a/teleforma/static/teleforma/css/teleforma_receipt_pdf.css b/teleforma/static/teleforma/css/teleforma_receipt_pdf.css index 52d7d961..a2992a47 100644 --- a/teleforma/static/teleforma/css/teleforma_receipt_pdf.css +++ b/teleforma/static/teleforma/css/teleforma_receipt_pdf.css @@ -1,6 +1,6 @@ @page { margin: 1cm; - margin-bottom: 2.5cm; + margin-bottom: 1cm; @frame footer { -pdf-frame-content: footer; bottom: 0cm; @@ -63,7 +63,7 @@ #content table tr th{ padding: 5px; - font-size: 14px; + font-size: 12px; border: 1px solid #000; } @@ -72,7 +72,7 @@ } #content table tr th:first-child{ - width: 60%; + width: 50%; } #content table tr td{ @@ -80,7 +80,7 @@ border-left: 1px solid #000; border-right: 1px solid #000; line-height: 24px; - font-size: 14px; + font-size: 12px; font-weight: bold; } #content table tr td:first-child{ @@ -101,6 +101,12 @@ font-size: 2em; } +#signature { + margin-left: auto; + display: block; + width:200px; + margin-bottom:20px; +} #footer{ text-align: center; diff --git a/teleforma/static/teleforma/images/signature.png b/teleforma/static/teleforma/images/signature.png new file mode 100644 index 00000000..ea7991f5 Binary files /dev/null and b/teleforma/static/teleforma/images/signature.png differ diff --git a/teleforma/templates/receipt/receipt_pdf.html b/teleforma/templates/receipt/receipt_pdf.html index c35ffd1e..fc361fe3 100644 --- a/teleforma/templates/receipt/receipt_pdf.html +++ b/teleforma/templates/receipt/receipt_pdf.html @@ -68,7 +68,7 @@ - +
@@ -98,6 +98,8 @@
DESCRIPTION
+ Signature + {% block footer %}