Koha-clms/Koha/ILL
Pedro Amorim 316b1d37b8
Bug 39917: Add new optional 'mark_completed' ILL screen
This new 'Mark completed' screen only shows when ILL_STATUS_ALIAS is not empty, i.e. Koha installations that are not using ILL_STATUS_ALIAS will not see any change in their workflow.
Backends that don't implement 'mark_completed' are inherently already making use of core 'mark_completed' and will automatically adopt this enhancement.
Backends that do implement their own mark_completed don't automatically adopt this enhancement and will not see any change in their workflow.

Test plan:
1) Enable ILLModule sys pref
2) Create a new ILL request:
   <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard
3) Add a type, cardnumber and library. Click 'Create'.
4) You should now be on the manage request screen. Click 'Confirm' and 'Confirm request'.
5) You should be on the manage request screen again. Click 'Mark completed'. The request's status became 'Completed'.
6) Add at least one AV entry to ILL_STATUS_ALIAS av category, visit:
   <staff_url>/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=ILL_STATUS_ALIAS
7) Add 'abc_code' to 'Authorized value' and 'abc_description' to 'Description'. Click 'Save'.
8) Repeat steps 2 to 5. Notice that when you 'Mark completed' now, a new screen is shown prompting for a status_alias.
9) Pick a status_alias and save. Notice the 'status' now shows the alias.

Sponsored-by: NHS England
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit bb790bea23)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-08-22 09:48:37 +02:00
..
Backend Bug 38928: (QA follow-up) 2025-07-09 11:36:44 +02:00
Batch Bug 35581: Koha::Illrequest::Logger -> Koha::ILL::Request::Logger 2024-04-22 08:57:44 +02:00
Request Bug 39875: Dont show history check 2025-06-22 23:48:40 +02:00
Backend.pm Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
Batch.pm Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
Batches.pm
…
Comment.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Comments.pm Bug 35581: Koha::Illcomment* -> Koha::ILL::Comment* 2024-04-22 08:57:42 +02:00
Request.pm Bug 39917: Add new optional 'mark_completed' ILL screen 2025-08-22 09:48:37 +02:00
Requests.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00