[Koha-bugs] [Bug 12448] Ask for confirmation when checking out an item with rental fees

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 30 14:39:05 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12448

--- Comment #22 from Marc Véron <veron at veron.ch> ---
Created attachment 29362
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29362&action=edit
[Signed-off] Bug 12448 - Ask for confirmation when checking out an item with
rental fees

Prompts the user for confirmation when checking out an item with rental fees.
This patch adds a confirmation box between the toolbar and the checkout form on
the checkout page when checking out an item with rental fees.

A system preference is added to manage the patch's behaviour.
The preference's value can either be set to "ask" or "don't ask" and is located
under:
Circulation preferences > Checkout Policy > RentalFeesCheckoutConfirmation

Sponsor: Ville de Victoriaville, QC

Confirmation box contents:

"Please confirm checkout"
"-Rental charge for this item: n"
[Yes, checkout (Y)] [No, Don't Check Out (N)]

Test case A: Confirm checkout
1) Go to checkout user "X"'s checkout page.
2) Enter barcode for an item with rental fees.
3) Click the "Check out" button.
4) Confirmation box appears.
5) Click on the "Yes" button.
6) Item is added to checkout list.
7) Fees are added to the patron's account.

Test case B: Decline checkout
1) Go to checkout user "X"'s checkout page.
2) Enter barcode for an item with rental fees.
3) Click the "Check out" button.
4) Confirmation box appears.
5) Click the "No" button.
6) Checkout page goes back to its initial state.
7) Patron has no item checked out and no fees to pay.

Signed-off-by: Christopher Brannon <cbrannon at cdalibrary.org>
Signed-off-by: Marc Véron <veron at veron.ch>

All patches applied. Works as expected. Sign-off on patch #1

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list