mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Make sure amounts are formatted, and fixed some issues.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th>{{ trans('list.description') }}</th>
|
||||
<th>{{ trans('list.amount') }}</th>
|
||||
<th>{{ trans('list.total_amount') }}</th>
|
||||
<th class="hidden-sm hidden-xs">{{ trans('list.date') }}</th>
|
||||
<th class="hidden-xs">{{ trans('list.from') }}</th>
|
||||
<th class="hidden-xs">{{ trans('list.to') }}</th>
|
||||
@@ -43,8 +43,7 @@
|
||||
<a href="{{ route('transactions.show',journal.id) }}" title="{{ journal.description }}">{{ journal.description }}</a>
|
||||
</td>
|
||||
<td>
|
||||
{# TODO fix amount display #}
|
||||
XX.XX
|
||||
{{ journalAmount(journal) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ journal.date.formatLocalized(monthAndDayFormat) }}
|
||||
|
||||
@@ -37,8 +37,7 @@
|
||||
<tr>
|
||||
<td>{{ 'total_amount'|_ }}</td>
|
||||
<td>
|
||||
{# TODO fix amount display #}
|
||||
XX.XX
|
||||
{{ journalAmount(journal) }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -299,8 +298,7 @@
|
||||
|
||||
</td>
|
||||
<td>
|
||||
{# TODO replace with new display: #}
|
||||
XX.XX
|
||||
{{ formatSourceBefore(transaction) }} → {{ formatSourceAfter(transaction) }}
|
||||
</td>
|
||||
<td>
|
||||
{% if transaction.destination_account_type == 'Cash account' %}
|
||||
@@ -311,29 +309,10 @@
|
||||
|
||||
</td>
|
||||
<td>
|
||||
{# TODO replace with new format code #}
|
||||
XX.XX
|
||||
{{ formatDestinationBefore(transaction) }} → {{ formatDestinationAfter(transaction) }}
|
||||
</td>
|
||||
<td>
|
||||
{% if journal.transactiontype.type == 'Deposit' %}
|
||||
<!-- deposit, positive amount with correct currency -->
|
||||
{# TODO replace with new format code #}
|
||||
XX.XX
|
||||
|
||||
{% endif %}
|
||||
{% if journal.transactiontype.type == 'Withdrawal' %}
|
||||
<!-- withdrawal, negative amount with correct currency -->
|
||||
{# TODO replace with new format code #}
|
||||
XX.XX
|
||||
|
||||
{% endif %}
|
||||
{% if journal.transactiontype.type == 'Transfer' %}
|
||||
<!-- transfer, positive amount in blue -->
|
||||
<span class="text-info">
|
||||
{# TODO replace with new format code #}
|
||||
XX.XX
|
||||
</span>
|
||||
{% endif %}
|
||||
{{ journalAmount(journal) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ transactionIdBudgets(transaction.source_id) }}
|
||||
|
||||
Reference in New Issue
Block a user