Bug 15738

Summary: Summary page says item has no fines, but Fines tab says otherwise
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: OPACAssignee: Aleisha Amohia <aleisha>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: eric.gosselin.5, jonathan.druart, katrin.fischer, kyle, liz, mtj, veron
Version: master   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Shows problem on opac-user.pl
Problem still valid
Bug 15738: Show rental fees on OPAC summary page
[SIGNED-OFF] Bug 15738: Show rental fees on OPAC summary page
Bug 15738: Show rental fees on OPAC summary page

Description Aleisha Amohia 2016-02-03 23:43:32 UTC
Issuing an item to a user gives instant $5 fine.
On the OPAC next to the item it says there are no fines attached to the item, but in the Fines tab you can clearly see there are fines. See attachment
Comment 1 Aleisha Amohia 2016-02-03 23:44:07 UTC
Created attachment 47628 [details]
Shows problem on opac-user.pl
Comment 2 Owen Leonard 2016-02-17 19:01:10 UTC
I'm pretty sure the "fines" column in the OPAC only shows overdue fines. What you're describing sounds like a rental charge. Perhaps this bug should be be "Show a rental charges column in the OPAC summary table."
Comment 3 Aleisha Amohia 2016-02-23 03:53:50 UTC
(In reply to Owen Leonard from comment #2)
> I'm pretty sure the "fines" column in the OPAC only shows overdue fines.
> What you're describing sounds like a rental charge. Perhaps this bug should
> be be "Show a rental charges column in the OPAC summary table."

Maybe. Or maybe just change the column to something a bit clearer like 'Overdue fines'. I think my issue was maybe that I didn't know what that value was and since there were fees attached to the item, I thought it should've said yes.
Comment 4 Aleisha Amohia 2016-03-29 23:03:37 UTC
Created attachment 49658 [details]
Problem still valid

Just having another look at this: even when my issue is overdue, fines says 'No'.
Comment 5 Liz Rea 2016-06-08 02:04:25 UTC
This is actually a pretty big problem for libraries who charge rentals, and it completely is the rentals that are causing this - the Koha default data comes with a $5 rental fee on item type book.

It would be good to display both overdue fines and rental fees on the circulation page.
Comment 6 Aleisha Amohia 2017-01-05 02:04:35 UTC
Created attachment 58610 [details] [review]
Bug 15738: Show rental fees on OPAC summary page

This patch adds a few lines that check for a rental fee on an item. If
yes, it will show in brackets as a rental fee on the OPAC summary page.

To test:
1) Have a borrower with an overdue item accruing fines, a lost item and
an item with a rental fee. Confirm the Fines column on the OPAC summary
page now shows you what you may expect to see for each item.

Sponsored-by: Catalyst IT
Comment 7 Katrin Fischer 2017-01-07 22:03:10 UTC
If there is a rental fee and an overdue fine on the item the line will read:
Yes (Item overdue or lost)

Maybe, instead of showing yes or no, would it make more sense to show the amount? Then the user can check the fine display for details.

Or we could keep the general (yes/no), but have it say as soon as there is any kind of fee/fine on the item?
Comment 8 Eric 2017-03-23 19:02:58 UTC Comment hidden (obsolete)
Comment 9 Eric 2017-03-23 19:05:16 UTC
With the patch I can see both the rental charges and the fines next to the item, in the column. But I see this in the checkout area

 Cannot check out!

    Fees & Charges: Patron has outstanding fees & charges of 35.00

---
Fines tab:

Rental fee :  5$
sub total:    5$

fine:         10$
Lost book:    25$
Subtotal:     35$

Total:        40$


It seems the 5$ for rental is not considered / Does it mean that it is supposed to be already paid for ? Or is it that rentals are meant to be seen on the fine tab, while not being fines ?
Comment 10 Josef Moravec 2017-04-26 15:18:07 UTC
Created attachment 62732 [details] [review]
[SIGNED-OFF] Bug 15738: Show rental fees on OPAC summary page

This patch adds a few lines that check for a rental fee on an item. If
yes, it will show in brackets as a rental fee on the OPAC summary page.

To test:
1) Have a borrower with an overdue item accruing fines, a lost item and
an item with a rental fee. Confirm the Fines column on the OPAC summary
page now shows you what you may expect to see for each item.

Sponsored-by: Catalyst IT

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 11 Jonathan Druart 2017-04-26 19:51:23 UTC
Created attachment 62747 [details] [review]
Bug 15738: Show rental fees on OPAC summary page

This patch adds a few lines that check for a rental fee on an item. If
yes, it will show in brackets as a rental fee on the OPAC summary page.

To test:
1) Have a borrower with an overdue item accruing fines, a lost item and
an item with a rental fee. Confirm the Fines column on the OPAC summary
page now shows you what you may expect to see for each item.

Sponsored-by: Catalyst IT

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 12 Jonathan Druart 2017-04-26 19:55:31 UTC
(In reply to Eric from comment #9)
> It seems the 5$ for rental is not considered / Does it mean that it is
> supposed to be already paid for ? Or is it that rentals are meant to be seen
> on the fine tab, while not being fines ?

I do not recreate, do you have more information to share with us?
Comment 13 Kyle M Hall 2017-04-28 10:54:22 UTC
Pushed to master for 17.05, thanks Aleisha!
Comment 14 Katrin Fischer 2017-05-13 12:07:19 UTC
This patch has been pushed to 16.11.x and will be in 16.11.08.
Comment 15 Mason James 2017-05-24 02:08:04 UTC
Pushed to 16.05.x, for 16.05.13 release