Lines 470-477
Link Here
|
470 |
[% IF ( books_loo.order_received ) %]<tr class="disabled">[% ELSE %][% IF ( books_loo.toggle ) %]<tr class="highlight">[% ELSE %]<tr>[% END %][% END %] |
470 |
[% IF ( books_loo.order_received ) %]<tr class="disabled">[% ELSE %][% IF ( books_loo.toggle ) %]<tr class="highlight">[% ELSE %]<tr>[% END %][% END %] |
471 |
<td> |
471 |
<td> |
472 |
<p>[% IF ( books_loo.order_received ) %] (rcvd)[% END %] |
472 |
<p>[% IF ( books_loo.order_received ) %] (rcvd)[% END %] |
473 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a> by [% books_loo.author %] |
473 |
[% IF (books_loo.biblionumber) %] |
474 |
<br /> |
474 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% books_loo.biblionumber %]">[% books_loo.title |html %]</a> by [% books_loo.author %] |
|
|
475 |
<br /> |
476 |
[% ELSE %] |
477 |
<em>Deleted bibliographic record, can't find title</em><br /> |
478 |
[% END %] |
475 |
[% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %] |
479 |
[% IF ( books_loo.isbn ) %] - [% books_loo.isbn %][% END %] |
476 |
[% IF ( books_loo.issn ) %] - [% books_loo.issn %][% END %] |
480 |
[% IF ( books_loo.issn ) %] - [% books_loo.issn %][% END %] |
477 |
[% IF ( books_loo.publishercode ) %], [% books_loo.publishercode %][% END %] |
481 |
[% IF ( books_loo.publishercode ) %], [% books_loo.publishercode %][% END %] |
Lines 523-549
Link Here
|
523 |
[% END %] |
527 |
[% END %] |
524 |
</td> |
528 |
</td> |
525 |
<td> |
529 |
<td> |
526 |
[% IF ( books_loo.left_holds_on_order ) %] |
530 |
[% UNLESS (books_loo.biblionumber) %] |
527 |
<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> |
531 |
<a href="javascript:confirm_delete_item([% books_loo.ordernumber %])" class="button">Delete order</a><br> |
528 |
[% ELSE %] |
532 |
[% ELSE %] |
529 |
<a href="javascript:confirm_delete_item([% books_loo.ordernumber %],[% books_loo.biblionumber %])" class="button">Delete order</a><br> |
533 |
[% IF ( books_loo.left_holds_on_order ) %] |
530 |
[% END %] |
534 |
<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> |
531 |
[% IF ( books_loo.can_del_bib ) %] |
535 |
[% ELSE %] |
532 |
<a href="javascript:confirm_delete_biblio([% books_loo.ordernumber %],[% books_loo.biblionumber %])" class="button">Delete order and catalog record</a><br> |
536 |
<a href="javascript:confirm_delete_item([% books_loo.ordernumber %],[% books_loo.biblionumber %])" class="button">Delete order</a><br> |
533 |
[% ELSE %] |
537 |
[% END %] |
534 |
<span class="button" title="Can't delete catalog record, see constraints below">Can't delete order and catalog record</span><br> |
538 |
[% IF ( books_loo.can_del_bib ) %] |
535 |
[% END %] |
539 |
<a href="javascript:confirm_delete_biblio([% books_loo.ordernumber %],[% books_loo.biblionumber %])" class="button">Delete order and catalog record</a><br> |
536 |
[% IF ( books_loo.left_item ) %] |
540 |
[% ELSE %] |
537 |
<b title="Can't delete catalog record, because of [% books_loo.items %] existing hold(s)" >[% books_loo.items %] item(s) left</b><br> |
541 |
<span class="button" title="Can't delete catalog record, see constraints below">Can't delete order and catalog record</span><br> |
538 |
[% END %] |
542 |
[% END %] |
539 |
[% IF ( books_loo.left_biblio ) %] |
543 |
[% IF ( books_loo.left_item ) %] |
540 |
<b title="Can't delete catalog record, delete other orders linked to it first">[% books_loo.biblios %] order(s) left</b><br> |
544 |
<b title="Can't delete catalog record, because of [% books_loo.items %] existing hold(s)" >[% books_loo.items %] item(s) left</b><br> |
541 |
[% END %] |
545 |
[% END %] |
542 |
[% IF ( books_loo.left_subscription ) %] |
546 |
[% IF ( books_loo.left_biblio ) %] |
543 |
<b title="Can't delete catalog record, delete subscriptions first">[% books_loo.subscriptions %] subscription(s) left</b><br> |
547 |
<b title="Can't delete catalog record, delete other orders linked to it first">[% books_loo.biblios %] order(s) left</b><br> |
544 |
[% END %] |
548 |
[% END %] |
545 |
[% IF ( books_loo.left_holds ) %] |
549 |
[% IF ( books_loo.left_subscription ) %] |
546 |
<b title="Can't delete catalog record or order, cancel holds first">[% books_loo.holds %] hold(s) left</b> |
550 |
<b title="Can't delete catalog record, delete subscriptions first">[% books_loo.subscriptions %] subscription(s) left</b><br> |
|
|
551 |
[% END %] |
552 |
[% IF ( books_loo.left_holds ) %] |
553 |
<b title="Can't delete catalog record or order, cancel holds first">[% books_loo.holds %] hold(s) left</b> |
554 |
[% END %] |
547 |
[% END %] |
555 |
[% END %] |
548 |
</td> |
556 |
</td> |
549 |
[% END %] |
557 |
[% END %] |
Lines 581-587
Link Here
|
581 |
<td> |
589 |
<td> |
582 |
<p> |
590 |
<p> |
583 |
[% IF ( order.order_received ) %] (rcvd)[% END %] |
591 |
[% IF ( order.order_received ) %] (rcvd)[% END %] |
584 |
[% IF (order.title) %] |
592 |
[% IF (order.biblionumber) %] |
585 |
[% order.title |html %] by [% order.author %]<br /> |
593 |
[% order.title |html %] by [% order.author %]<br /> |
586 |
[% ELSE %] |
594 |
[% ELSE %] |
587 |
<em>Deleted bibliographic record, can't find title</em><br /> |
595 |
<em>Deleted bibliographic record, can't find title</em><br /> |
588 |
- |
|
|