]> git.koha-community.org Git - koha.git/commit
Bug 14390: [Follow-up] Only update FU record in UpdateFine
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 23 Aug 2016 14:33:10 +0000 (16:33 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 16 Sep 2016 06:06:40 +0000 (08:06 +0200)
commit4413708e97d412db8ab7e4b57f3baee69231d9f9
treedd335367c3019ddcefc491190e42a15cb47cd45e
parent5014c8eb09c1c805054df08ac92bd100c5dc6c58
Bug 14390: [Follow-up] Only update FU record in UpdateFine

Exclude O, F and M when outstanding == 0.
Check if the issue_id points to a FU record.

Note: We only warn now when we see a second FU record with this issue id.
That should be a rare exception. As before, we are just counting it in
our total. Added a FIXME.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested fine on overdue. Renewed and backdated for a second fine. The F
and FU can be seen on the Fines tab and are totaled on Check out.

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fa48df281d68fe1d27cc6fb10b41e4504a70afb9)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 0894b24c3d6e7d915871bd56a22ff9a10741b7b9)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Conflicts:
C4/Overdues.pm
C4/Overdues.pm