[MT2343] Hide "Edit budget period" in the menu if no root budget selected
This commit is contained in:
parent
5b8d8af2b4
commit
43ebd20604
|
|
@ -23,7 +23,9 @@
|
|||
var periods_menu = [
|
||||
{ text: _("Display all root budgets"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl" },
|
||||
{ text: _("New root budget"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form" },
|
||||
<!-- TMPL_IF NAME="budget_period_id" -->
|
||||
{ text: _("Edit root budget '<!-- TMPL_VAR NAME="budget_period_description" -->'"), url: "/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&budget_period_id=<!-- TMPL_VAR NAME="budget_period_id" -->" },
|
||||
<!-- /TMPL_IF -->
|
||||
{ text: _("Duplicate root budget"), },
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue