[Koha-bugs] [Bug 16912] Koha:: Patrons - Move AddEnrolmentFeeIfNeeded to add_enrolment_fee_if_needed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 24 22:58:24 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16912

--- Comment #13 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 54837
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54837&action=edit
Bug 16912: Koha::Patrons - Move AddEnrolmentFeeIfNeeded to
->add_enrolment_fee_if_needed

This patch moves the code of the C4::Members::AddEnrolmentFeeIfNeeded
subroutine to the Koha::Patron->add_enrolment_fee_if_needed method.
The behavior should be unchanged.

Test plan:
1/ Define enrolment fee for 2 patron categories
2/ Create a patron using the first category
=> The patron should be charged
3/ Change the patron category to the other one
=> The patron should be charged again

Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list