Lines 406-412
Link Here
|
406 |
[% IF ( active ) %] |
406 |
[% IF ( active ) %] |
407 |
[% UNLESS ( closedate ) %] |
407 |
[% UNLESS ( closedate ) %] |
408 |
<th>Modify</th> |
408 |
<th>Modify</th> |
409 |
<th>Delete</th> |
409 |
<th>Cancel order</th> |
410 |
[% END %] |
410 |
[% END %] |
411 |
[% END %] |
411 |
[% END %] |
412 |
</tr> |
412 |
</tr> |
Lines 534-547
Link Here
|
534 |
</td> |
534 |
</td> |
535 |
<td> |
535 |
<td> |
536 |
[% IF ( books_loo.left_holds_on_order ) %] |
536 |
[% IF ( books_loo.left_holds_on_order ) %] |
537 |
<span class="button" title="Can't delete order, ([% books_loo.holds_on_order %]) holds are linked with this order cancel holds first">Can't delete order</span><br> |
537 |
<span class="button" title="Can't cancel order, ([% books_loo.holds_on_order %]) holds are linked with this order cancel holds first">Can't cancel order</span><br> |
538 |
[% ELSE %] |
538 |
[% ELSE %] |
539 |
<a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">Delete order</a><br> |
539 |
<a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">Cancel order</a><br> |
540 |
[% END %] |
540 |
[% END %] |
541 |
[% IF ( books_loo.can_del_bib ) %] |
541 |
[% IF ( books_loo.can_del_bib ) %] |
542 |
<a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&del_biblio=1&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">Delete order and catalog record</a><br> |
542 |
<a href="/cgi-bin/koha/acqui/cancelorder.pl?ordernumber=[% books_loo.ordernumber %]&biblionumber=[% books_loo.biblionumber %]&del_biblio=1&referrer=/cgi-bin/koha/acqui/basket.pl%3Fbasketno=[% basketno %]" class="button">Cancel order and delete catalog record</a><br> |
543 |
[% ELSE %] |
543 |
[% ELSE %] |
544 |
<span class="button" title="Can't delete catalog record, see constraints below">Can't delete order and catalog record</span><br> |
544 |
<span class="button" title="Can't delete catalog record, see constraints below">Can't cancel order and delete catalog record</span><br> |
545 |
[% END %] |
545 |
[% END %] |
546 |
[% IF ( books_loo.left_item ) %] |
546 |
[% IF ( books_loo.left_item ) %] |
547 |
<b title="Can't delete catalog record, because of [% books_loo.items %] existing hold(s)" >[% books_loo.items %] item(s) left</b><br> |
547 |
<b title="Can't delete catalog record, because of [% books_loo.items %] existing hold(s)" >[% books_loo.items %] item(s) left</b><br> |