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

            Bug ID: 44206
           Summary: Check-in transfer dialog mentions buttons it does not
                    show
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
        Depends on: 42383
  Target Milestone: ---

On the new check-in page, when an item needs to go to another library and the
transfer has already been created (AutomaticItemReturn), the dialog "Please
return this item to: <library>" shows this grey text:

The transfer has already been created. "Cancel transfer" cancels it and records
the cancellation in the item's transfer history. "Ignore" leaves it exactly as
it is.

With TransfersBlockCirc enabled (the default), the dialog only has "OK (Y)" and
"Print slip (P)". "Cancel transfer (X)" and "Ignore (I)" are only offered when
TransfersBlockCirc is off, because with it on the page is blocked until a
choice is made. So the text describes two buttons that are not on the screen,
which is confusing. It was reported on Mattermost by someone looking for them.

The text is also long, and is not needed: the buttons say what they do. The
dialog already has the title, the reason for the transfer, and the Esc hint
when closing it is allowed.

Remove the explanatory text.

Test plan:
1. Make sure TransfersBlockCirc is set to "Block" and AutomaticItemReturn is
enabled
2. Have an item whose home library is not the library you are logged in at
3. Go to Circulation > Check in and check the item in
   => The dialog "Please return this item to: <library>" is shown with the grey
text above, and only the buttons "OK (Y)" and "Print slip (P)"
4. Apply the patch, run yarn js:build and hard refresh
5. Check in another such item
   => The dialog has no grey text, with the same two buttons
6. Set TransfersBlockCirc to "Don't block" and check in another such item
   => The dialog has "OK (Y)", "Print slip (P)", "Cancel transfer (X)" and
"Ignore (I)", and no grey text
7. Run the Cypress spec t/cypress/integration/Circulation/Checkin_spec.ts


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383
[Bug 42383] Migrate check-in page to Vue
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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