@@ -, +, @@ --- .../prog/en/modules/acqui/invoice.tt | 90 +++++++++---------- 1 file changed, 44 insertions(+), 46 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt @@ -7,57 +7,14 @@ [% USE AuthorisedValues %] [% Asset.css("css/humanmsg.css") | $raw %] - [% BLOCK fund_dropdown %] - - + - [% END %] - - - [% INCLUDE 'doc-head-open.inc' %] Invoice › Acquisitions › Koha [% INCLUDE 'doc-head-close.inc' %] @@ -206,7 +163,7 @@ Note Fund Encumber while invoice open - [% UNLESS readonly %] [% END %] + [% UNLESS readonly %] [% END %] [% total_adj = 0 %] [% FOREACH adjustment IN adjustments %] @@ -486,6 +443,47 @@ + + + + [% MACRO jsinclude BLOCK %] [% Asset.js("js/acquisitions-menu.js") | $raw %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] @@ -552,7 +550,7 @@ $('.b_inactive').remove(); $('.showallfunds').click(function() { - var the_dropdown = $(this).parent('span').find('.fund_dropdown'); + var the_dropdown = $(this).siblings('.fund_dropdown'); var selected = the_dropdown.val(); if ($(this).is(":checked")) { the_dropdown.html(disabledBudgetsCopy).val(selected); --