Bug 40743: Fix description of inactive budget
Without this patch it's always "{budget_description} (Inactive)"
Signed-off-by: Aleisha Amohia <aleisha@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e057c02ca3)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
ef71229f97
commit
e1aa995904
|
|
@ -290,7 +290,7 @@
|
|||
[% SET optgroup_label = budget_period.description %]
|
||||
[% IF !budget_period.active %]
|
||||
[% SET optgroup_class = "inactive_budget" %]
|
||||
[% SET optgroup_label = t("{budget_description} (Inactive)", {budget_description = budget_period.description}) %]
|
||||
[% SET optgroup_label = tx("{budget_description} (Inactive)", {budget_description = budget_period.description}) %]
|
||||
[% END %]
|
||||
|
||||
<optgroup class="[% optgroup_class | html %]" label="[% optgroup_label | html %]">
|
||||
|
|
|
|||
Loading…
Reference in New Issue