This patch adds the following warning during the return of a document that was reserved to a course: "Please return 'title' to the 'course name' class reserve." Testing: 1) Define a document as a course reserve see manual.koha-community.org/3.14/en/coursereserves.html 2) Checkout and checkin this document. Validade the warning Sponsored-by: CCSR ( http://www.ccsr.qc.ca )
Created attachment 33907 [details] Add a warning during the return of a document that was reserved to a course
+ <div class="error dialog" style="text-align:center;margin-right:0px;margin:auto;"> There's no reason to define a new message style in this patch. <div class="dialog message"> works perfectly well here. The message text is not quite correct either. It refers to "class reserve" when the feature is called "course reserves." I would suggest something like "[ title ] is part of the [ course ] course reserve." That text is informational without being specifically directional. I think it's better not to use the term "return" which is expected to be seen in this context with regard to transfers between branches.
Created attachment 36212 [details] [review] This patch adds the following warning during the return of a document that was reserved to a course: "Please return 'title' to the 'course name' class reserve." Testing: 1) Define a document as a course reserve see manual.koha-community.org/3.14/en/coursereserves.html 2) Checkout and checkin this document. Validade the warning
The warning was changed to "[ title ] is part of the [ course ] course reserve."
It works as expected on returns.pl However when I go to circulation.pl and check in using the button "Renow or check in selected items", I would expect a similar message as well (or some information in the "Checkouts" table e.g. in the column "Title")