[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-938-g1e84b12

Git repo owner gitmaster at git.koha-community.org
Fri Aug 16 16:57:14 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  1e84b1217afc74f490423538b7b8808e3d34513a (commit)
       via  1c8efaf3f9b14caf5f6512149d5fcd957bd3e487 (commit)
       via  f8eb19163bd4e59e99b6dae90a5712b6a7be52f6 (commit)
      from  a4d8144efdcbbf30d649264495f151e8b6fd7594 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1e84b1217afc74f490423538b7b8808e3d34513a
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Fri Aug 16 15:00:35 2013 +0000

    Bug 10481: (follow-up) fix typo in POD
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 1c8efaf3f9b14caf5f6512149d5fcd957bd3e487
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Thu Jul 11 11:45:06 2013 +0200

    Bug 10481: Unit tests for C4::Members::AddEnrolmentFeeIfNeeded
    
    prove t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t
    t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t .. ok
    All tests successful.
    Files=1, Tests=3,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.38 cusr
    0.01 csys =  0.41 CPU)
    Result: PASS
    
    Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit f8eb19163bd4e59e99b6dae90a5712b6a7be52f6
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Mon Jun 17 14:56:22 2013 +0200

    Bug 10481: FIX No enrollment fee when changing patron category.
    
    When a patron changes to a category with enrollment fee, they
    are not generated.
    
    Test plan:
    - Choose a category without fee (e.g. Kid)
    - Add an enrollment fee for another category (e.g. Young adult)
    - Choose a kid and change his category to "Young adult".
    - Note the warning message "Fees & Charges: Patron has Outstanding fees
      & charges of XX" on the check out page.
    
    This patch also moves all instances of adding the enrollment fee
    to a new routine in C4::Members, AddEnrolmentFeeIfNeeded(), so
    additional tests include:
    
    - Register a new patron and give it a category that has
      an enrollment fee.  Verify that the fee is charged.
    - Renew the patron.  Verify that the additional fee is charged.
    - Register a new patron with a child patron category.
    - Use the 'update child to adult' menu option to change the
      patron's category to one that is fee-bearing.  Verify that the
      enrollment fee was charged.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/Members.pm                                    |   65 ++++++++++++++--------
 t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t |   56 +++++++++++++++++++
 2 files changed, 98 insertions(+), 23 deletions(-)
 create mode 100644 t/db_dependent/Members/AddEnrolmentFeeIfNeeded.t


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list