Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #974
James Cole0e343028982c
diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.phpindex 94acbf2230..49daf7d145 100644--- a/resources/lang/en_US/firefly.php+++ b/resources/lang/en_US/firefly.php@@ -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',diff --git a/resources/views/reports/partials/bills.twig b/resources/views/reports/partials/bills.twigindex c532abd610..5e653a1925 100644--- a/resources/views/reports/partials/bills.twig+++ b/resources/views/reports/partials/bills.twig@@ -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 %}