racourcir les libelles des actions

This commit is contained in:
2022-03-06 16:21:07 +01:00
parent 0125b73ab6
commit f97e03204f
3 changed files with 24 additions and 23 deletions

View File

@@ -108,7 +108,7 @@
<th class="text-right">+/- Valeur</th>
<th class="text-right">% de +/-</th>
<th class="text-right">Rdt brut</th>
<th class="text-right">TER</th>
<th class="text-right">% TER</th>
<th class="text-right">% PF</th>
</tr>
</thead>
@@ -123,11 +123,11 @@
<td class="text-right">${layout.to_euro(ligne.valeur)}</td>
<td tal:condition="ligne.plus_value>=0" class="text-right" style="color: green;">${layout.to_euro(ligne.plus_value)}</td>
<td tal:condition="ligne.plus_value <0" class="text-right" style="color: red;">${layout.to_euro(ligne.plus_value)}</td>
<td tal:condition="ligne.pc_plusvalue>=0" class="text-right" style="color: green;">${layout.to_percent(ligne.pc_plusvalue,1)}</td>
<td tal:condition="ligne.pc_plusvalue <0" class="text-right" style="color: red;">${layout.to_percent(ligne.pc_plusvalue,1)}</td>
<td tal:condition="ligne.pc_plusvalue>=0" class="text-right" style="color: green;">${ligne.pc_plusvalue}</td>
<td tal:condition="ligne.pc_plusvalue <0" class="text-right" style="color: red;">${ligne.pc_plusvalue}</td>
<td class="text-right">${layout.to_euro(ligne.rendement)}</td>
<td class="text-right">${layout.to_percent(ligne.ter,2)}</td>
<td class="text-right">${ligne.pc_allocation} %</td>
<td class="text-right">${layout.zero2space(ligne.ter)}</td>
<td class="text-right">${ligne.pc_allocation}</td>
</tr>
<tr>
<td class="text-right" colspan="4"><b>Total</b></td>
@@ -138,7 +138,7 @@
<td class="text-right"><b>${layout.to_percent(total_pc_value, 1)}</b></td>
<td class="text-right"><b>${layout.to_euro(total_rdt)}</b></td>
<td></td>
<td class="text-right"><b>100.0 %</b></td>
<td class="text-right"><b>100.0</b></td>
</tr>
</tbody>
</table>