Skip to content

Commit

Permalink
Merge #1906
Browse files Browse the repository at this point in the history
1906: fix(reports) Account statement period total currency r=jniles

This commit ensures that the period total displayed at the bottom
of the account statement report respects the correct currency.
The enterprise currency ID is now correctly passed to the
currency helper.
  • Loading branch information
bors[bot] committed Jul 30, 2017
2 parents c2dc66f + 392ff08 commit eabc60d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
<tr>
<td><strong>{{date params.dateTo}}</strong></th>
<td colspan="3"><strong>{{translate "FORM.LABELS.PERIOD_TOTAL"}}</strong></td>
<td class="text-right"><strong>{{currency sum.period.debit}}</strong></td>
<td class="text-right"><strong>{{currency sum.period.credit}}</strong></td>
<td class="text-right"><strong>{{currency sum.period.balance}}</strong></td>
<td class="text-right"><strong>{{currency sum.period.debit metadata.enterprise.currency_id}}</strong></td>
<td class="text-right"><strong>{{currency sum.period.credit metadata.enterprise.currency_id}}</strong></td>
<td class="text-right"><strong>{{currency sum.period.balance metadata.enterprise.currency_id}}</strong></td>
</tr>
{{/if}}
</tbody>
Expand Down

0 comments on commit eabc60d

Please sign in to comment.