Bug 24357 - Hide checkout box when OverduesBlockCirc is set to Block
Summary: Hide checkout box when OverduesBlockCirc is set to Block
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-06 21:23 UTC by Caroline Cyr La Rose
Modified: 2020-01-06 22:00 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
patron with overdue items (19.43 KB, image/png)
2020-01-06 21:23 UTC, Caroline Cyr La Rose
Details
warning saying that patron cannot checkout after I've already scanned the item's barcode (25.00 KB, image/png)
2020-01-06 21:23 UTC, Caroline Cyr La Rose
Details
patron with charges over the amount in NoIssuesCharge (20.09 KB, image/png)
2020-01-06 21:24 UTC, Caroline Cyr La Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2020-01-06 21:23:00 UTC
Created attachment 96861 [details]
patron with overdue items

If OverduesBlockCirc is set to Block, the checkout box appears in the user's patron file. We can scan the barcode, but only after the item is scanned there is a message saying the patron cannot check out.

If NoIssuesCharge is enabled, and the patron owes more than the amount specified, the check out box does not appear at all. Instead, there is a message saying Cannot check out.

I think if OverduesBlockCirc is set to Block, the checkout box should be hidden, with a message Cannot check out Patron has overdue items, etc...

See screenshots 1) patron with overdue items 2) warning saying that patron cannot checkout after I've already scanned the item's barcode 3) patron with charges over the amount in NoIssuesCharge
Comment 1 Caroline Cyr La Rose 2020-01-06 21:23:35 UTC
Created attachment 96862 [details]
warning saying that patron cannot checkout after I've already scanned the item's barcode
Comment 2 Caroline Cyr La Rose 2020-01-06 21:24:03 UTC
Created attachment 96863 [details]
patron with charges over the amount in NoIssuesCharge
Comment 3 Caroline Cyr La Rose 2020-01-06 22:00:12 UTC
Steps to reproduce:

1) Go to Administration > Global system preferences
2) Search for OverduesBlockCirc
3) Set to Block
4) Save
5) Search for NoIssuesCharge
6) Enter a small amount, like 5
7) Save
8) Go to a patron's file
9) Make a checkout with a date in the past
10) The checkout box is still available; try to make another checkout; you should get a warning saying this patron cannot checkout
11) Go to another patron's file
12) Add a manual charge that is over the NoIssuesCharge amount, 10 for example
13) Go to the Check out tab; notice the checkout box is not available because the patron has more outstanding charges than is allowed