https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13870 --- Comment #37 from Thibaud Guillot (thibaud_g) <thibaud.guillot@biblibre.com> --- Created attachment 206965 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206965&action=edit Bug 13870: Add warn about linked order or/and subscription on batch item table When you try to manage/delete/edit items I added an info about linked order or/and linked subscription. Test plan : 1) Apply this patch 2) Restart_all 3) Prepare a biblio record with three items: - item A linked to an order - item B linked to a subscription (serial item) - item C without any link (optional: item D linked to both, to check the combined tooltip) 4) On biblio record page click on Edit -> Manage items 5) In the 'Actions' dropdown of each item: - A: a yellow warning triangle is displayed next to 'Delete'; hovering shows "An order is linked to this item (order number N)" - B: same triangle; hovering shows "A subscription is linked to this item (subscription id N)" - C: no triangle, no tooltip - D: both messages in the tooltip 6) On biblio record page click on Edit -> Edit items in batch, then Delete items in batch 7) Under the title of each linked item, a warning link is displayed: - "Linked order" links to the basket - "Linked subscription" links to the subscription detail page Item C has no such link. Note: links are only displayed when arriving from the biblio record page, not when using a barcode or itemnumber list. Sponsored by: BibLibre -- You are receiving this mail because: You are watching all bug changes.