https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31463
Joonas Kylmälä <joonas.kylm...@iki.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #139996|0 |1 is obsolete| | --- Comment #4 from Joonas Kylmälä <joonas.kylm...@iki.fi> --- Created attachment 140010 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140010&action=edit Bug 31463: Add order status to opac-detail.pl This adds a check for the preference OPACAcquisitionDetails and fetches the active orders for the item if necessary Additionally, we simply the check for biblio orders to use object methods and remove code that stored order information in the item_info To test: 1 - Enable preference: OPACAcquisitionDetails 2 - Create a basket with items created on order, add an order for a biblio, close the basket 3 - Create a second basket as above, add an order with multiple copies, leave basket open 4 - View biblio on opac 5 - You should see 1 item marked on order, and "1 items on order" below items table 6 - Close second basket 7 - Reload opac view, now 3 on order and in message 8 - Reopen first basket 9 - Reload opac view, now 2 on order and in message JK: Remove unused @itemnumbers_on_order variable Signed-off-by: Joonas Kylmälä <joonas.kylm...@iki.fi> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/