This commit is contained in:
James Cole
2020-05-22 13:52:33 +02:00
parent e6e8200912
commit dbd68cedc9
3 changed files with 21 additions and 3 deletions

View File

@@ -769,6 +769,7 @@ return [
'options' => 'Options',
// budgets:
'budget_limit_not_in_range' => 'This amount applies from :start to :end.',
'total_available_budget' => 'Total available budget (between :start and :end)',
'total_available_budget_in_currency' => 'Total available budget in :currency',
'see_below' => 'see below',

View File

@@ -276,6 +276,11 @@
</ul>
</div>
</div>
{% if not budgetLimit.in_range %}
<small class="text-muted">
{{ trans('firefly.budget_limit_not_in_range', {start: budgetLimit.start_date, end: budgetLimit.end_date}) }}
</small><br>
{% endif %}
<span class="text-danger budget_warning" data-id="{{ budget.id }}" data-budgetLimit="{{ budgetLimit.id }}"
style="display:none;"></span>
{% endfor %}