mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-20 11:33:59 +00:00
This should fix most amounts for #511
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
<th data-defaultsign="_19">{{ trans('list.currentBalance') }}</th>
|
||||
<th class="hidden-sm hidden-xs">{{ trans('list.active') }}</th>
|
||||
<th data-defaultsign="month" class="hidden-sm hidden-xs">{{ trans('list.lastActivity') }}</th>
|
||||
<th data-defaultsign="_19" class="hidden-sm hidden-xs">{{ trans('list.balanceDiff', {'start' : Session.get('start').formatLocalized(monthAndDayFormat),'end' : Session.get('end').formatLocalized(monthAndDayFormat)}) }}</th>
|
||||
<th data-defaultsign="_19"
|
||||
class="hidden-sm hidden-xs">{{ trans('list.balanceDiff', {'start' : Session.get('start').formatLocalized(monthAndDayFormat),'end' : Session.get('end').formatLocalized(monthAndDayFormat)}) }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -33,7 +34,11 @@
|
||||
</td>
|
||||
{% endif %}
|
||||
<td class="hidden-sm hidden-xs">{{ account.iban }}</td>
|
||||
<td data-value="{{ account.endBalance }}">{{ account.endBalance|formatAmount }}</td>
|
||||
<td data-value="{{ account.endBalance }}" style="text-align: right;">
|
||||
<span style="margin-right:5px;">
|
||||
{{ account.endBalance|formatAmount }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="hidden-sm hidden-xs" data-value="{{ account.active }}">
|
||||
{% if account.active %}
|
||||
<i class="fa fa-fw fa-check"></i>
|
||||
@@ -50,8 +55,10 @@
|
||||
<em>{{ 'never'|_ }}</em>
|
||||
</td>
|
||||
{% endif %}
|
||||
<td class="hidden-sm hidden-xs" data-value="{{ account.difference }}">
|
||||
<td class="hidden-sm hidden-xs" data-value="{{ account.difference }}" style="text-align: right;">
|
||||
<span style="margin-right:5px;">
|
||||
{{ (account.difference)|formatAmount }}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
@@ -29,11 +29,15 @@
|
||||
<span class="label label-info">{{ match }}</span>
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td data-value="{{ entry.amount_min }}">
|
||||
<td data-value="{{ entry.amount_min }}" style="text-align: right;">
|
||||
<span style="margin-right:5px;">
|
||||
{{ entry.amount_min|formatAmount }}
|
||||
</span>
|
||||
</td>
|
||||
<td data-value="{{ entry.amount_max }}">
|
||||
<td data-value="{{ entry.amount_max }}" style="text-align: right;">
|
||||
<span style="margin-right:5px;">
|
||||
{{ entry.amount_max|formatAmount }}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
{% if entry.paidDates.count() == 0 and entry.payDates.count() == 0 and entry.active %}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{ journals.render|raw }}
|
||||
|
||||
<table class="table table-hover table-compressed {% if sorting %}sortable-table{% endif %}">
|
||||
<table class="table table-hover table-condensed {% if sorting %}sortable-table{% endif %}">
|
||||
<thead>
|
||||
<tr class="ignore">
|
||||
<th class="hidden-xs no_select_boxes" colspan="2"> </th>
|
||||
@@ -62,12 +62,13 @@
|
||||
{% endif %}
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<td style="text-align: right;">
|
||||
<span style="margin-right:5px;">
|
||||
<!-- format amount of transaction -->
|
||||
{{ formatByCode(transaction.transaction_currency_code, transaction.transaction_amount) }}
|
||||
<!-- and then amount of journal itself. -->
|
||||
{{ optionalJournalAmount(transaction.journal_id, transaction.transaction_amount, transaction.transaction_currency_code, transaction.transaction_type_type) }}
|
||||
|
||||
</span>
|
||||
|
||||
</td>
|
||||
<td class="hidden-sm hidden-xs">
|
||||
|
@@ -22,7 +22,7 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<td style="text-align: right;">
|
||||
{% if event.amount < 0 %}
|
||||
<span class="text-danger">{{ trans('firefly.removed_amount', {amount: (event.amount)|formatAmountPlain})|raw }}</span>
|
||||
{% else %}
|
||||
|
Reference in New Issue
Block a user