@@ -, +, @@ - create a basket and an order - delete the record used by that order - go on receipt page - in the line matching this order, you should see instead of the title "Deleted bibliographic record, can't find title" - click on "Delete order" : you should be able to delete the order - go to the basket, to check the order was properly cancelled - in receipt page, try to delete an other order (always linked to a record), to be sure there is no regression --- .../intranet-tmpl/prog/en/modules/acqui/parcel.tt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -265,7 +265,11 @@ [% loop_order.ordernumber %] - [% loop_order.title |html %] + [% IF (loop_order.biblionumber) %] + [% loop_order.title |html %] + [% ELSE %] + Deleted bibliographic record, can't find title
+ [% END %] [% IF ( loop_order.author ) %] by [% loop_order.author %][% END %] [% IF ( loop_order.isbn ) %] – [% loop_order.isbn %][% END %] [% IF ( loop_order.publishercode ) %]
Publisher :[% loop_order.publishercode %][% END %] @@ -292,6 +296,9 @@ Transfer + [% UNLESS (books_loo.biblionumber) %] + Delete order
+ [% ELSE %] [% IF ( loop_order.left_holds_on_order ) %] Can't delete order
[% ELSE %] @@ -314,6 +321,7 @@ [% IF ( loop_order.left_holds ) %] [% loop_order.holds %] hold(s) left [% END %] + [% END %] [% END %] --