[Koha-bugs] [Bug 10481] No enrollment fee when changing patron category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 16 16:54:37 CEST 2013


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

--- Comment #25 from Galen Charlton <gmcharlt at gmail.com> ---
Comment on attachment 20407
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20407
Bug 10481: Unit tests for C4::Members::AddEnrolmentFeeIfNeeded

Review of attachment 20407:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10481&attachment=20407)
-----------------------------------------------------------------

::: t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t
@@ +50,5 @@
> +
> +# Check with calling directly AddEnrolmentFeeIfNeeded
> +C4::Members::AddEnrolmentFeeIfNeeded( 'YA', $borrowernumber );
> +( $total ) = C4::Members::GetMemberAccountRecords( $borrowernumber );
> +is( $total, $enrolmentfee_K + $enrolmentfee_J + $enrolmentfee_YA, "Juvenile growing and become an young adult, he should pay " . ( $enrolmentfee_K + $enrolmentfee_J + $enrolmentfee_YA ) );

If I were a kid in this library district, I would think twice about reporting
my age! ;)

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


More information about the Koha-bugs mailing list