https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41898

--- Comment #1 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 200052
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200052&action=edit
Bug 41898: Introduce 'issued' booking status; repurpose 'completed' for
post-return

- Add 'issued' status set on checkout (was incorrectly 'completed')
- Repurpose 'completed' to mean item has been returned after booking
- AddReturn now transitions 'issued' → 'completed' via booking_id on issue
- filter_by_active renamed to filter_by_open (status-based, no date filter)
  returning status IN ('new', 'issued'); deprecated alias kept for one cycle
- Clash detection and _is_final_status_transition updated for all three
  terminal-or-in-flight statuses: cancelled, issued, completed
- list.tt: fix pre-existing bug where defaults included non-existent statuses
  'pending'/'active'; corrected to ['new', 'issued']
- Templates updated: filter_by_active → filter_by_open; bookings count
  variable renamed closed_bookings_count to reflect status-based filtering
- 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/

Reply via email to