From c38b0d27c4994645b9d89d0a1ba490528cf70db8 Mon Sep 17 00:00:00 2001
From: Benjamin <benjamin@le-filament.com>
Date: Wed, 5 May 2021 11:57:27 +0200
Subject: [PATCH] [update] report with payments

---
 report/report_scop_bordereau_payments.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/report/report_scop_bordereau_payments.xml b/report/report_scop_bordereau_payments.xml
index 10dc05f..663985f 100644
--- a/report/report_scop_bordereau_payments.xml
+++ b/report/report_scop_bordereau_payments.xml
@@ -79,20 +79,20 @@
                                 </table>
                                <table class="table table-sm table-striped" style="border: none;">
                                     <tr>
+                                        <th class="text-right">Montant dû</th>
                                         <th>Total appelé</th>
                                         <th class="text-right">Total réglé</th>
-                                        <th class="text-right">Montant dû</th>
                                     </tr>
                                     <tr style="border-bottom: 1px solid #ccc;">
+                                        <td class="text-right" style="border: none; background: inherit; color: inherit;">
+                                            <t t-esc="schedule_line.get('total_residual')" t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}"/>
+                                        </td>
                                         <td style="border: none; background: inherit; color: inherit;">
                                             <t t-esc="schedule_line.get('total_amount')" t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}"/>
                                         </td>
                                         <td class="text-right" style="border: none; background: inherit; color: inherit;">
                                             <t t-esc="schedule_line.get('total_paid')" t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}"/>
                                         </td>
-                                        <td class="text-right" style="border: none; background: inherit; color: inherit;">
-                                            <t t-esc="schedule_line.get('total_residual')" t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}"/>
-                                        </td>
                                     </tr>
                                 </table>
                             </p>
-- 
GitLab