@@ -, +, @@ --- .../prog/en/modules/acqui/booksellers.tt | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -33,6 +33,17 @@ $(document).ready(function() { var legend = _("Add order to basket %s").format(basket); $(this).find("legend").html(legend); }); + $("#show_all_vendors").hide(); + $("#show_active_vendors").click(function(){ + $(".inactive").hide(); + $("#show_active_vendors").hide(); + $("#show_all_vendors").show(); + }); + $("#show_all_vendors").click(function(){ + $(".inactive").show(); + $("#show_all_vendors").hide(); + $("#show_active_vendors").show(); + }); }); //]]> @@ -71,13 +82,18 @@ $(document).ready(function() {
[% END %] [% IF ( allbaskets ) %] - + Show active baskets only [% ELSE %] - + Show all baskets [% END %] + | Show active vendors onlyShow all vendors