close #583 Fixed: Reports page currency issue

This commit is contained in:
cuneytsenturk
2018-11-02 17:50:27 +03:00
parent dd836a943b
commit 5da2276c84
5 changed files with 9 additions and 9 deletions

View File

@@ -25,9 +25,9 @@
@endif
@foreach($category as $item)
@if($type == 'income')
<td class="text-right">@money($item['amount'], $item['currency_code'], true)</td>
<td class="text-right">@money($item['amount'], setting('general.default_currency'), true)</td>
@else
<td class="text-right">@money(-$item['amount'], $item['currency_code'], true)</td>
<td class="text-right">@money(-$item['amount'], setting('general.default_currency'), true)</td>
@endif
@endforeach
</tr>