mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
Fix #974
This commit is contained in:
parent
6a91ca0f9b
commit
0e34302898
@ -144,7 +144,10 @@ return [
|
||||
|
||||
// repeat frequencies:
|
||||
'repeat_freq_yearly' => 'yearly',
|
||||
'repeat_freq_half-year' => 'every half-year',
|
||||
'repeat_freq_quarterly' => 'quarterly',
|
||||
'repeat_freq_monthly' => 'monthly',
|
||||
'repeat_freq_weekly' => 'weekly',
|
||||
'weekly' => 'weekly',
|
||||
'quarterly' => 'quarterly',
|
||||
'half-year' => 'every half year',
|
||||
|
@ -21,6 +21,8 @@
|
||||
</td>
|
||||
<td class="hidden-xs" data-value="{{ line.getMin }}" style="text-align: right;">{{ line.getMin|formatAmount }}</td>
|
||||
<td class="hidden-xs" data-value="{{ line.getMax }}" style="text-align: right;">{{ line.getMax|formatAmount }}</td>
|
||||
|
||||
{# if bill is hit, show hit amount #}
|
||||
{% if line.isHit %}
|
||||
<td data-value="{{ line.getAmount }}" style="text-align: right;">
|
||||
<a href="{{ route('transactions.show', line.getTransactionJournalId) }}">
|
||||
@ -28,18 +30,18 @@
|
||||
</a>
|
||||
</td>
|
||||
{% endif %}
|
||||
{# if not but is active, show "not yet charged #}
|
||||
{% if not line.isHit and line.isActive %}
|
||||
<td data-value="0" class="bg-success">{{ 'notCharged'|_ }}</td>
|
||||
{% endif %}
|
||||
{% if not line.isActive %}
|
||||
{% if not line.isActive and not line.isHit %}
|
||||
<td data-value="-1"> </td>
|
||||
{% endif %}
|
||||
<td data-value="{{ (line.getMax - line.getAmount) }}" style="text-align: right;" class="hidden-xs">
|
||||
{% if line.isActive %}
|
||||
{% if line.isHit %}
|
||||
{{ (line.getMax + line.getAmount)|formatAmount }}
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user