mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 12:48:08 +09:00
We shouldn't be converting the prices on PDFs (#2027)
We shouldn't be concerting the prices on PDFs
This commit is contained in:
1 parent
5c465cf0d3
commit
e48fe84efd
1 file changed
+5
-5
@@ -71,8 +71,8 @@
|
||||
<tr>
|
||||
<td style='text-align: center; width:25px;'>{{ nr }}</td>
|
||||
<td style='text-align: left'>{{ item.title }}</td>
|
||||
<td style='text-align: right'>{{ item.quantity }}x {{ item.price|money_convert(currency_code) }}</td>
|
||||
<td style='text-align: right'>{{ item.total|money_convert(currency_code) }}</td>
|
||||
<td style='text-align: right'>{{ item.quantity }}x {{ item.price|money(currency_code) }}</td>
|
||||
<td style='text-align: right'>{{ item.total|money(currency_code) }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
@@ -82,18 +82,18 @@
|
||||
<tr>
|
||||
<th style='text-align: right' colspan='3'>{{ invoice.taxname }}
|
||||
{{ invoice.taxrate }}% Tax:</th>
|
||||
<th style='text-align: right'>{{ invoice.tax|money_convert(currency_code) }}</th>
|
||||
<th style='text-align: right'>{{ invoice.tax|money(currency_code) }}</th>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if invoice.discount|default and invoice.discount > 0 %}
|
||||
<tr>
|
||||
<th style='text-align: right' colspan='3'>{{ 'Discount'|trans }}:</th>
|
||||
<th style='text-align: right'>{{ invoice.discount|money_convert(currency_code) }}</th>
|
||||
<th style='text-align: right'>{{ invoice.discount|money(currency_code) }}</th>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
<th style='text-align: right' colspan='3'>{{ 'Total'|trans }}:</th>
|
||||
<th style='text-align: right'>{{ invoice.total|money_convert(currency_code) }}</th>
|
||||
<th style='text-align: right'>{{ invoice.total|money(currency_code) }}</th>
|
||||
</tr>
|
||||
</table>
|
||||
<p>{{ footer.signature }}</p>
|
||||
|
||||
Reference in new issue
Block a user