From 332e09b3cbc817989a0c899d9ab5147a201a589e Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Tue, 28 Apr 2009 23:16:36 +0200 Subject: [PATCH] changes in acquisition toolbar to deal with new features --- .../prog/en/includes/acquisitions-toolbar.inc | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc index c4abb1ca82..5b77b9307c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc @@ -11,22 +11,32 @@ function yuiToolbar() { + new YAHOO.widget.Button("newperiod"); + new YAHOO.widget.Button("newbudget"); new YAHOO.widget.Button("newsupplier"); - new YAHOO.widget.Button("neworder"); + + var manageorders = [ + { text: _("Baskets"), url: "/cgi-bin/koha/acqui/booksellers.pl?supplierid="}, + { text: _("Basket grouping"), url: "/cgi-bin/koha/acqui/basketgroup.pl?booksellerid="}, + { text: _("Receive shipments"), url: "/cgi-bin/koha/acqui/parcels.pl?supplierid=" }, + { text: _("Uncertain prices"), url: "/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=&owner=1"} + ] + new YAHOO.widget.Button("newbasket"); new YAHOO.widget.Button("editsupplier"); - new YAHOO.widget.Button("manageorders"); - new YAHOO.widget.Button("receive"); + new YAHOO.widget.Button("receive"); + new YAHOO.widget.Button("editcontracts"); + new YAHOO.widget.Button({type: "menu", label: _("Manage orders"), name: "manageorders", menu: manageorders, container: "toolbar-list"}); + } //]]> -