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:
Jonathan Druart 2025-09-15 15:27:27 +02:00 committed by Paul Derscheid
parent ef71229f97
commit e1aa995904
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 1 deletions

View File

@ -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 %]">