Skip to content
Extraits de code Groupes Projets
Valider 6ec77ba6 rédigé par Stéphane - Enercoop's avatar Stéphane - Enercoop
Parcourir les fichiers

[UPD] tableau de répartition 2 chiffres après la virgule kWh

parent 5d6ae331
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -451,7 +451,7 @@ ...@@ -451,7 +451,7 @@
<tr class="fw-bolder bg-light"> <tr class="fw-bolder bg-light">
<td class="text-uppercase">Surplus</td> <td class="text-uppercase">Surplus</td>
<td class="text-end text-nowrap"><t <td class="text-end text-nowrap"><t
t-esc="('%.0f' % tSurplus['surplus'])" t-esc="('%.2f' % tSurplus['surplus']).replace('.', ',')"
/> kWh</td> /> kWh</td>
<td class="text-end text-nowrap"><t <td class="text-end text-nowrap"><t
t-esc="('%.1f' % tSurplus['percentage']).replace('.', ',')" t-esc="('%.1f' % tSurplus['percentage']).replace('.', ',')"
...@@ -466,7 +466,7 @@ ...@@ -466,7 +466,7 @@
> >
<td><t t-esc="tPartner['name']" /></td> <td><t t-esc="tPartner['name']" /></td>
<td class="text-end text-nowrap"><t <td class="text-end text-nowrap"><t
t-esc="('%.0f' % tPartner['autocons'])" t-esc="('%.2f' % tPartner['autocons']).replace('.', ',')"
/> kWh</td> /> kWh</td>
<td class="text-end text-nowrap"><t <td class="text-end text-nowrap"><t
t-esc="('%.1f' % tPartner['percentage']).replace('.', ',')" t-esc="('%.1f' % tPartner['percentage']).replace('.', ',')"
...@@ -491,7 +491,7 @@ ...@@ -491,7 +491,7 @@
/> />
</td> </td>
<td class="text-end text-nowrap"><t <td class="text-end text-nowrap"><t
t-esc="('%.0f' % tCounter['autocons'])" t-esc="('%.2f' % tCounter['autocons']).replace('.', ',')"
/> kWh</td> /> kWh</td>
<td class="text-end text-nowrap"><t <td class="text-end text-nowrap"><t
t-esc="('%.1f' % tCounter['percentage']).replace('.', ',')" t-esc="('%.1f' % tCounter['percentage']).replace('.', ',')"
......
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