https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41898
--- Comment #7 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 200070 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200070&action=edit Bug 41898: Introduce 'issued' booking status; repurpose 'completed' for post-return - Add 'issued' status set on checkout via AddIssue (was incorrectly 'completed') - Repurpose 'completed' to mean item has been returned after a booking - AddReturn now transitions 'issued' → 'completed' using booking_id on the issue - filter_by_active updated to be status-based: status IN ('new', 'issued'); previously it filtered by date range — active/inactive now reflect booking lifecycle rather than the current date relative to start/end dates - _is_final_status_transition reverted to only skip clash detection for the terminal statuses 'cancelled' and 'completed'; 'issued' is an active state and does not require bypassing clash detection - _assign_item_for_booking and _select_optimal_item already exclude items via current_checkouts; 'issued' does not need to be in the status exclusion list - list.tt: fix pre-existing bug where status filter defaults included the non-existent values 'pending'/'active'; corrected to ['new', 'issued'] - patron-detail-tabs.inc: rename expired_bookings_count → closed_bookings_count to reflect status-based (not date-based) counting - Status badge colours: issued=bg-info, completed=bg-secondary -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
