From 2bd621289f955f9961c02e4908f0bb771189330d Mon Sep 17 00:00:00 2001
From: Juliana <juliana@le-filament.com>
Date: Wed, 12 Apr 2023 20:14:40 +0200
Subject: [PATCH] [UPD]Update format PDF

---
 report/account_report.xml   | 2 +-
 report/account_template.xml | 6 +++---
 static/src/scss/style.scss  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/report/account_report.xml b/report/account_report.xml
index e9618b3..420b47c 100644
--- a/report/account_report.xml
+++ b/report/account_report.xml
@@ -11,7 +11,7 @@
             <field name="page_width">0</field>
             <field name="orientation">Portrait</field>
             <field name="margin_top">10</field>
-            <field name="margin_bottom">32</field>
+            <field name="margin_bottom">28</field>
             <field name="margin_left">7</field>
             <field name="margin_right">7</field>
             <field name="header_line" eval="False" />
diff --git a/report/account_template.xml b/report/account_template.xml
index e6008d0..8db2f21 100644
--- a/report/account_template.xml
+++ b/report/account_template.xml
@@ -227,7 +227,7 @@
 
                         <div class="row mt-4 mb-5">
                             <div class="col-4 grey-div ">
-                                <h5 class="font-weight-bold mb-3 mt-2 text-center">Vos références utiles</h5>
+                                <h5 class="font-weight-bold mb-3 mt-5 text-center">Vos références utiles</h5>
                                 <p>
                                     <span
                                         class="font-weight-bold"
@@ -471,10 +471,10 @@
                         </div>
                         <div class="row mt-3">
                             <div class="col-12 font-italic font-mini">
-                                <p class="mt-5">
+                                <p>
                                     (1) Le total à payer correspond à l’électricité autoconsommée et à l'ACCISE - (2) ACC : Auto-Consommation Collective
+                                <br/><span t-if="o.invoice_terms" t-field="o.invoice_terms"/>
                                 </p>
-                                <span t-if="o.invoice_terms" t-field="o.invoice_terms"/>
                             </div>
                         </div>
                         <t t-set="prmi_ids" t-value="o.line_ids.mapped('acc_injection_id')"/>
diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss
index 5d30aa2..8271cc9 100644
--- a/static/src/scss/style.scss
+++ b/static/src/scss/style.scss
@@ -48,7 +48,7 @@
     padding: 20px !important;
     border-radius: 40px !important;
     border-collapse: inherit !important;
-    margin-top: 40px !important;
+    margin-top: 35px !important;
 }
 
 .o_report_layout_boxed table thead tr th {
-- 
GitLab