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

--- Comment #235 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211727
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211727&action=edit
Bug 42383: (QA follow-up) Make the librarian read the note a patron left on the
checkout

A patron can leave a note on a checkout (AllowCheckoutNotes). It is
freeform, and it is not a message staff come to expect, so a blue alert under
the form is easy to get used to and ignore. On the legacy page it is a
heading in the message area of the page.

When a returned item has such a note, and there is nothing else to decide
for it, the page now opens a dialog with the note, its date and an
"Acknowledge (Y)" button. As the dialogs of a blocking transfer, it
dims the page and disables the barcode box until the note is read. Items
that need a hold, transfer, recall or claim answer show the note in that
dialog, as before. It queues with the other dialogs: one is shown at a time.

The note stays on the row, in the Note column, once it was read.

This is the exception to the rule that a dialog is for a choice that changes
what happens next: staff have to read this one.

Test plan:
1. Apply the patch and rebuild the JS (yarn js:build)
2. Check out an item to a patron, and give the checkout a note (the patron
   can add it in the OPAC, with AllowCheckoutNotes on)
3. Check the item in
=> A dialog "Note from the patron" shows the note and the date; the page is
   dimmed and the barcode box is disabled
4. Press "Acknowledge (Y)"
=> The barcode box is ready again, and the row shows the note
5. Run:
   $ yarn cypress run --spec t/cypress/integration/Circulation/Checkin_spec.ts
=> SUCCESS: Tests pass!

Assisted-by: Sonnet 5.5 (Anthropic)
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to