Lines 83-95
$(document).ready(function() {
Link Here
|
83 |
[% IF ( CAN_user_acquisition_order_manage ) %] |
83 |
[% IF ( CAN_user_acquisition_order_manage ) %] |
84 |
[% IF ( supplier.active ) %] |
84 |
[% IF ( supplier.active ) %] |
85 |
<a class="btn btn-small" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% supplier.booksellerid %]&op=add_form"><i class="icon-plus"></i> New basket</a> |
85 |
<a class="btn btn-small" href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% supplier.booksellerid %]&op=add_form"><i class="icon-plus"></i> New basket</a> |
|
|
86 |
[% IF ( supplier.loop_basket.size ) %] |
87 |
<a class="btn btn-small" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% supplier.booksellerid %]"><i class="icon-inbox"></i> Receive shipment</a> |
88 |
[% END %] |
86 |
[% ELSE %] |
89 |
[% ELSE %] |
87 |
(inactive) |
90 |
(inactive) |
88 |
[% END %] |
91 |
[% END %] |
89 |
[% END %] |
92 |
[% END %] |
90 |
[% IF ( supplier.loop_basket.size ) %] |
|
|
91 |
<a class="btn btn-small" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% supplier.booksellerid %]"><i class="icon-inbox"></i> Receive shipment</a> |
92 |
[% END %] |
93 |
</span> |
93 |
</span> |
94 |
<div class="baskets"> |
94 |
<div class="baskets"> |
95 |
[% IF ( supplier.loop_basket.size ) %] |
95 |
[% IF ( supplier.loop_basket.size ) %] |
Lines 157-163
$(document).ready(function() {
Link Here
|
157 |
<td> |
157 |
<td> |
158 |
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno %]">View</a> |
158 |
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno %]">View</a> |
159 |
|
159 |
|
160 |
[% UNLESS ( basket.closedate ) %] |
160 |
[% IF not basket.closedate and supplier.active %] |
161 |
| <a id="addtoBasketLabel[% basket.basketno %]" href="#addtoBasket[% basket.basketno %]" role="button" data-toggle="modal">Add to basket</a> |
161 |
| <a id="addtoBasketLabel[% basket.basketno %]" href="#addtoBasket[% basket.basketno %]" role="button" data-toggle="modal">Add to basket</a> |
162 |
<!-- Modal --> |
162 |
<!-- Modal --> |
163 |
<div id="addtoBasket[% basket.basketno %]" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="addtoBasketLabel[% basket.basketno %]" aria-hidden="true" data-basketno="[% basket.basketname %]"> |
163 |
<div id="addtoBasket[% basket.basketno %]" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="addtoBasketLabel[% basket.basketno %]" aria-hidden="true" data-basketno="[% basket.basketname %]"> |