Skip to content

Commit

Permalink
fix(vouchers): print correct currency & user
Browse files Browse the repository at this point in the history
This commit fixes the voucher registry so that it prints the correct
currency in the printed report.  It also ensures that the report prints
out the username in the user column.

Fixes #187.
  • Loading branch information
Jonathan Niles authored and sfount committed Feb 10, 2017
1 parent 063e8d9 commit 9d1feba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/controllers/finance/reports/vouchers/report.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<!-- list of data -->
<!-- voucher info -->
<table class="table table-condensed">
<table class="table table-condensed table-bordered table-report">
<thead>
<tr>
<th>{{translate 'FORM.LABELS.REFERENCE'}}</th>
Expand All @@ -35,8 +35,8 @@
<td>{{reference}}</td>
<td>{{date date}}</td>
<td>{{description}}</td>
<td class="text-right">{{currency amount}}</td>
<td>{{user}}</td>
<td class="text-right">{{currency amount this.currency_id}}</td>
<td>{{this.display_name}}</td>
</tr>
{{/each}}
</tbody>
Expand Down

0 comments on commit 9d1feba

Please sign in to comment.