@@ -, +, @@ --- .../prog/en/modules/acqui/invoice.tt | 26 ++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt @@ -278,13 +278,19 @@
  • + +
  • @@ -516,6 +522,18 @@ $('.b_inactive').remove(); } }); + // same effort for the adjustments + var adjBudgetId = $("#budget_id_new"); + var disabledAdjBudgetsCopy = adjBudgetId.html(); + $('.ab_inactive').remove(); + $('#showallfunds_adj').click(function() { + if ($(this).is(":checked")) { + adjBudgetId.html(disabledAdjBudgetsCopy); //Puts back all the funds + } + else { + $('.ab_inactive').remove(); + } + }); }); [% END %] --