Lines 23-29
Link Here
|
23 |
|
23 |
|
24 |
var manageorders = [ |
24 |
var manageorders = [ |
25 |
[% IF ( CAN_user_acquisition_order_manage ) %] |
25 |
[% IF ( CAN_user_acquisition_order_manage ) %] |
|
|
26 |
[% IF (active) %] |
26 |
{ text: _("New basket"), url: "/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&op=add_form"}, |
27 |
{ text: _("New basket"), url: "/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&op=add_form"}, |
|
|
28 |
[% END %] |
27 |
{ text: _("Baskets"), url: "/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid %]"}, |
29 |
{ text: _("Baskets"), url: "/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid %]"}, |
28 |
{ text: _("Basket groups"), url: "/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid %]"}, |
30 |
{ text: _("Basket groups"), url: "/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid %]"}, |
29 |
[% END %] |
31 |
[% END %] |
Lines 52-58
Link Here
|
52 |
[% END %] |
54 |
[% END %] |
53 |
<li><a id="newcontract" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&booksellerid=[% booksellerid %]">New contract</a></li> |
55 |
<li><a id="newcontract" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&booksellerid=[% booksellerid %]">New contract</a></li> |
54 |
<li><a id="editcontracts" href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid %]">Contracts</a></li> |
56 |
<li><a id="editcontracts" href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid %]">Contracts</a></li> |
55 |
[% UNLESS ( basketcount ) %] |
57 |
[% IF (active && !basketcount) %] |
56 |
<li><a id="newbasket" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&op=add_form">New basket</a></li> |
58 |
<li><a id="newbasket" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&op=add_form">New basket</a></li> |
57 |
[% END %] |
59 |
[% END %] |
58 |
[% END %] |
60 |
[% END %] |
59 |
- |
|
|