Skip to content

Commit

Permalink
update creditMemo pdf file
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamKasp authored and GSadee committed Mar 16, 2021
1 parent f1499ab commit c0d818b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Resources/views/Download/creditMemo.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@
</tr>
{% endfor %}

<tr class="total">
<td colspan="6"></td>
<td>{{ 'sylius_refund.ui.net_total'|trans([], 'messages', creditMemo.localeCode) }}:</td>
<td>{{ '%0.2f'|format(creditMemo.getNetValueTotal()/100) }}</td>
<td>{{ creditMemo.currencyCode }}</td>
</tr>
<tr class="total">
<td colspan="6"></td>
<td>{{ 'sylius_refund.ui.tax_total'|trans([], 'messages', creditMemo.localeCode) }}:</td>
<td>{{ '%0.2f'|format(creditMemo.getTaxTotal()/100) }}</td>
<td>{{ creditMemo.currencyCode }}</td>
</tr>
<tr class="total">
<td colspan="6"></td>
<td>{{ 'sylius.ui.total'|trans([], 'messages', creditMemo.localeCode) }}:</td>
Expand Down

0 comments on commit c0d818b

Please sign in to comment.