Lines 21-29
Link Here
|
21 |
new YAHOO.widget.Button("editcontracts"); |
21 |
new YAHOO.widget.Button("editcontracts"); |
22 |
|
22 |
|
23 |
var manageorders = [ |
23 |
var manageorders = [ |
24 |
{ text: _("New basket"), url: "/cgi-bin/koha/acqui/basketheader.pl?booksellerid=<!-- TMPL_VAR NAME="id" -->&op=add_form"}, |
24 |
<!-- TMPL_IF name="CAN_user_acquisition_order_manage" --> |
25 |
{ text: _("Baskets"), url: "/cgi-bin/koha/acqui/booksellers.pl?supplierid=<!--TMPL_VAR Name="id"-->"}, |
25 |
{ text: _("New basket"), url: "/cgi-bin/koha/acqui/basketheader.pl?booksellerid=<!-- TMPL_VAR NAME="id" -->&op=add_form"}, |
26 |
{ text: _("Basket groups"), url: "/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=<!-- TMPL_VAR NAME="id" -->"}, |
26 |
{ text: _("Baskets"), url: "/cgi-bin/koha/acqui/booksellers.pl?supplierid=<!--TMPL_VAR Name="id"-->"}, |
|
|
27 |
{ text: _("Basket groups"), url: "/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=<!-- TMPL_VAR NAME="id" -->"}, |
28 |
<!-- /TMPL_IF --> |
27 |
{ text: _("Receive shipments"), url: "/cgi-bin/koha/acqui/parcels.pl?supplierid=<!--TMPL_VAR Name="id"-->" }, |
29 |
{ text: _("Receive shipments"), url: "/cgi-bin/koha/acqui/parcels.pl?supplierid=<!--TMPL_VAR Name="id"-->" }, |
28 |
<!-- TMPL_IF name="basketno" --> |
30 |
<!-- TMPL_IF name="basketno" --> |
29 |
{ text: _("Uncertain prices"), url: "/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=<!-- TMPL_VAR NAME="id" -->&basketno=<!--TMPL_VAR name="basketno" -->&owner=1"} |
31 |
{ text: _("Uncertain prices"), url: "/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=<!-- TMPL_VAR NAME="id" -->&basketno=<!--TMPL_VAR name="basketno" -->&owner=1"} |
Lines 42-53
Link Here
|
42 |
</script> |
44 |
</script> |
43 |
<ul id="toolbar-list" class="toolbar"> |
45 |
<ul id="toolbar-list" class="toolbar"> |
44 |
<!-- TMPL_IF NAME="id" --> |
46 |
<!-- TMPL_IF NAME="id" --> |
45 |
<li><a id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=enter">Edit</a></li> |
47 |
<!-- TMPL_IF name="CAN_user_acquisition_vendors_manage" --> |
46 |
<li><a id="newcontract" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&booksellerid=<!-- TMPL_VAR name="id" -->">New Contract</a></li> |
48 |
<li><a id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=enter">Edit</a></li> |
47 |
<li><a id="editcontracts" href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=<!-- TMPL_VAR name="id" -->">Contracts</a></li> |
49 |
<li><a id="newcontract" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&booksellerid=<!-- TMPL_VAR name="id" -->">New Contract</a></li> |
48 |
<!-- TMPL_UNLESS NAME="basketcount" --> |
50 |
<li><a id="editcontracts" href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=<!-- TMPL_VAR name="id" -->">Contracts</a></li> |
49 |
<li><a id="newbasket" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=<!-- TMPL_VAR name="id" -->&op=add_form">New Basket</a></li> |
51 |
<!-- TMPL_UNLESS NAME="basketcount" --> |
50 |
<!-- /TMPL_UNLESS --> |
52 |
<li><a id="newbasket" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=<!-- TMPL_VAR name="id" -->&op=add_form">New Basket</a></li> |
|
|
53 |
<!-- /TMPL_UNLESS --> |
54 |
<!-- /TMPL_IF --> |
51 |
<!-- TMPL_ELSE --> |
55 |
<!-- TMPL_ELSE --> |
52 |
<li><a id="newbudget" href="/cgi-bin/koha/acqui/supplier.pl?op=enter">New Vendor</a></li> |
56 |
<li><a id="newbudget" href="/cgi-bin/koha/acqui/supplier.pl?op=enter">New Vendor</a></li> |
53 |
<!-- /TMPL_IF --> |
57 |
<!-- /TMPL_IF --> |