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>
This commit is contained in:
Jonathan Druart 2025-09-15 15:27:27 +02:00 committed by Lucas Gass
parent 1d2fc5133d
commit e057c02ca3
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
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 %]">