mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Some code for https://github.com/firefly-iii/firefly-iii/issues/9294
This commit is contained in:
@@ -2627,6 +2627,7 @@ return [
|
||||
'no_bills_create_default' => 'Create a bill',
|
||||
|
||||
// recurring transactions
|
||||
'recurrence_max_count' => 'This recurring transactions will be created at most :max time(s), and has been created :count time(s) already.',
|
||||
'create_right_now' => 'Create right now',
|
||||
'no_new_transaction_in_recurrence' => 'No new transaction was created. Perhaps it was already fired for this date?',
|
||||
'recurrences' => 'Recurring transactions',
|
||||
|
||||
@@ -22,6 +22,17 @@
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<h4>{{ 'transaction_journal_meta'|_ }}</h4>
|
||||
{% if array.nr_of_repetitions > 0 %}
|
||||
<p>
|
||||
{% if array.journal_count >= array.nr_of_repetitions %}
|
||||
<span class="text-danger">{{ trans('firefly.recurrence_max_count', {count: array.journal_count, max: array.nr_of_repetitions}) }}</span>
|
||||
{% endif %}
|
||||
{% if array.journal_count < array.nr_of_repetitions %}
|
||||
{{ trans('firefly.recurrence_max_count', {count: array.journal_count, max: array.nr_of_repetitions}) }}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<p>{{ 'description'|_ }}: <em>{{ array.description }}</em></p>
|
||||
|
||||
{% if array.active == false %}
|
||||
|
||||
Reference in New Issue
Block a user