Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
Owen Leonard 43b0ef8f53
Bug 23328: Some check-in messages should be dismissable
There are several cases where the check-in process displays a modal
asking for confirmation. There are several cases where confirming or
dismissing the modal unnecessarily reloads the page. In cases where no
server-side action is necessary, the modal should be dismissed without
submitting a form.

To test, apply the patch and go to Circulation -> Check in

With AutomaticItemReturn enabled and AllowReturnToBranch set to "any
library,"

 - Check in an item which belongs at another library and is not already
   in-transit. In the confirmation modal which appears, clicking the
   "OK" button should close the modal without reloading the page.
 - Check in another item from anther branch. In the confirmation modal
   clicking the "Print slip" button should trigger a pop-up window for
   printing a slip but the modal should be dismissed without reloading
   the page.
 - Check in an item which is already in-transit to another branch. In
   the confirmation modal, clicking either the "OK" or "Print transfer
   slip" buttons should dismiss the modal without reloading the page.
   - Clicking the "Cancel transfer" button should work as before: The
     page reloads and the transfer is canceled.

With AutomaticItemReturn disabled,

 - Check in an item belonging to another library. The confirmation modal
   should ask you whether you want to "Transfer now?" Clicking "No"
   should dismiss the modal without reloading the page. The other
   options should reload the page and initiate the transfer.

With AllowReturnToBranch set to "only the library the item is from,"

 - Check in an item belonging to another library. You should see a
   "Cannot check in" modal. Clicking the "OK" button should close the
   modal without reloading the page.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-08-05 15:44:10 +01:00
..
article-requests.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
bookcount.tt Bug 21449: Update two-column templates with Bootstrap grid: Circulation part 2 2019-01-30 11:59:40 +00:00
branchoverdues.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
branchtransfers.tt Bug 10300: (follow-up) add controls on transfers page 2019-04-26 11:49:08 +00:00
checkout-notes.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
circulation-home.tt Bug 10300: (follow-up) add controls on transfers page 2019-04-26 11:49:08 +00:00
circulation.tt Bug 22999: (follow-up) Indentation updates 2019-07-04 13:47:23 +01:00
circulation_batch_checkouts.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
offline-mf.tt
offline.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
on-site_checkouts.tt Bug 23194: Fix other occurences 2019-07-15 11:27:58 +01:00
overdue.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
pendingreserves.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
printslip.tt
renew.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
request-article.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
reserveratios.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
returns.tt Bug 23328: Some check-in messages should be dismissable 2019-08-05 15:44:10 +01:00
selectbranchprinter.tt
transferstoreceive.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
view_holdsqueue.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
waitingreserves.tt Bug 23192: Correct tab input on waiting_holds.inc 2019-07-15 11:27:59 +01:00