Bug 11210 - Allow partial writeoff
Summary: Allow partial writeoff
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Gus Ellerm
QA Contact: Testopia
URL: http://devs.bywatersolutions.com/proj...
Whiteboard:
Keywords: Academy
Depends on:
Blocks:
 
Reported: 2013-11-06 21:26 UTC by Marjorie Barry-Vila
Modified: 2017-10-04 01:19 UTC (History)
12 users (show)

See Also:
Change sponsored?: Seeking cosponsors
Patch complexity: ---
Bot Control: ---
When did the bot last check this:
Who signed the patch off:
Text to go in the release notes:


Attachments
Bug 11210 - Writeoff partial amounts (3.72 KB, patch)
2017-09-25 17:10 UTC, David Bourgault
Details | Diff | Splinter Review
Bug 11210 - Writeoff partial amounts (3.87 KB, patch)
2017-10-04 01:19 UTC, Alex Buckley
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Marjorie Barry-Vila 2013-11-06 21:26:16 UTC
it would be nice to make partial writeoff like a partial fine payment.

Example:
a fine of 3$ is charged because item was late of 3 days. But finaly on the three days,  library was closed one day. I want to just writeoff 1$.

Thanks,

Marjorie
Comment 1 Nicole C. Engard 2016-01-06 17:03:57 UTC
Seeking co-sponsors: http://devs.bywatersolutions.com/projects/allow-partial-writeoffs-of-fines/
Comment 2 Christopher Brannon 2017-05-19 20:25:04 UTC
I am glad to see this happen.  It makes sense.  Maybe this would be a good time to change this grouping of buttons in to an action button, defaulting to Pay all.  Just a thought, since the number of buttons is growing.
Comment 3 David Bourgault 2017-09-25 17:10:56 UTC
Created attachment 67345 [details] [review]
Bug 11210 - Writeoff partial amounts

Minor changes to pay.pl and paycollect.tt to allow writing off a partial amount of a fine.

Test plan:
0) Go to the Fines tab of a test patron's profile
1) Create a fine if there are none (under the Manual invoice tab)
2) Go to the "Pay fines" tab
3) Press the write off button on the corresponding account line

Without patch, you'll be asked to confirm, but will not be able to edit the amount
With patch, you'll be able to edit the amount.
Comment 4 Alex Buckley 2017-10-04 01:19:19 UTC
Created attachment 67583 [details] [review]
Bug 11210 - Writeoff partial amounts

Minor changes to pay.pl and paycollect.tt to allow writing off a partial amount of a fine.

Test plan:
0) Go to the Fines tab of a test patron's profile
1) Create a fine if there are none (under the Manual invoice tab)
2) Go to the "Pay fines" tab
3) Press the write off button on the corresponding account line

Without patch, you'll be asked to confirm, but will not be able to edit the amount
With patch, you'll be able to edit the amount.

Followed test plan, patch worked as described. Also ran QA test tool and
modified files passed

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>