[Koha-bugs] [Bug 7597] fines not recording the right info in the stats table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 28 15:56:52 CET 2012


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

Nicole C. Engard <nengard at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7916|0                           |1
        is obsolete|                            |

--- Comment #9 from Nicole C. Engard <nengard at gmail.com> 2012-02-28 14:56:52 UTC ---
Created attachment 7920
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7920
[SIGNED-OFF] Bug 7597 - Part 2 - move sub writeoff to C4::Accounts

Currently, the subroutine writeoff lives in pay.pl, which
is a violation of the Koha coding guidelines, as it writes
to the database. This commit restructures and moves writeoff
to C4::Accounts::WriteOff(), and modifies pay.pl to use it.

Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>

Tested all three patches together and was able to write off single
and multiple fines and the data was correct in the stats table.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list