use locale to format currency
This commit is contained in:
@@ -69,9 +69,9 @@
|
||||
<th class="text-right">TVA</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right">${layout.to_decz(dossier.TOTALHT)}</td>
|
||||
<td class="text-right">${layout.to_euroz(dossier.TOTALTVA)}</td>
|
||||
<td class="text-right">${layout.to_euroz(dossier.TOTALTTC)}</td>
|
||||
<td class="text-right">${layout.to_euro(dossier.TOTALHT)}</td>
|
||||
<td class="text-right">${layout.to_euro(dossier.TOTALTVA)}</td>
|
||||
<td class="text-right">${layout.to_euro(dossier.TOTALTTC)}</td>
|
||||
<td class="text-right">${dossier.TAUXTVA} %</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -88,7 +88,7 @@
|
||||
<tr tal:repeat="detail details">
|
||||
<td>${detail.REF}</td>
|
||||
<td>${detail.LIB}</td>
|
||||
<td class="text-right">${layout.to_decz(detail.QTE)}</td>
|
||||
<td class="text-right">${layout.to_euro(detail.QTE)}</td>
|
||||
<td class="text-right">${layout.to_euroz(detail.PRIXHT)}</td>
|
||||
<td class="text-right">${layout.to_euroz(detail.MTHT)}</td>
|
||||
<td class="text-center">${detail.USERMAJ}</td>
|
||||
|
||||
@@ -44,9 +44,9 @@
|
||||
<th class="text-right">TVA</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-right">${layout.to_decz(dossier.TOTALHT)}</td>
|
||||
<td class="text-right">${layout.to_euroz(dossier.TOTALTVA)}</td>
|
||||
<td class="text-right">${layout.to_euroz(dossier.TOTALTTC)}</td>
|
||||
<td class="text-right">${layout.to_euro(dossier.TOTALHT)}</td>
|
||||
<td class="text-right">${layout.to_euro(dossier.TOTALTVA)}</td>
|
||||
<td class="text-right">${layout.to_euro(dossier.TOTALTTC)}</td>
|
||||
<td class="text-right">${dossier.TAUXTVA} %</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user