Skip to content
Extraits de code Groupes Projets
Valider 2d7a4b9a rédigé par jordan's avatar jordan
Parcourir les fichiers

[update] disaply amount residual in report instead of amount paid

parent 8640e8ac
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!212.0 dev
...@@ -76,12 +76,14 @@ ...@@ -76,12 +76,14 @@
<tr> <tr>
<th>Date d'échéance</th> <th>Date d'échéance</th>
<th class="text-right">Montant appelé</th> <th class="text-right">Montant appelé</th>
<th class="text-right">Montant réglé</th> <th class="text-right">Montant </th>
</tr> </tr>
<tr t-foreach="schedule_line.get('plan')" t-as="line" style="border-bottom: 1px solid #ccc;"> <tr t-foreach="schedule_line.get('plan')" t-as="line" style="border-bottom: 1px solid #ccc;">
<t t-if="line.get('debit') > 0">
<td style="border: none; background: inherit; color: inherit;"><t t-esc="line.get('date_maturity:day')"/></td> <td style="border: none; background: inherit; color: inherit;"><t t-esc="line.get('date_maturity:day')"/></td>
<td class="text-right" style="border: none; background: inherit; color: inherit;"><t t-esc="line.get('debit')" 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="line.get('debit')" 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="line.get('debit') - line.get('amount_residual')" 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="line.get('amount_residual')" t-options="{'widget': 'monetary', 'display_currency': o.company_id.currency_id}"/></td>
</t>
</tr> </tr>
</table> </table>
<table class="table table-sm table-striped" style="border: none;"> <table class="table table-sm table-striped" style="border: none;">
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter