[koha-commits] main Koha release repository branch master updated. v3.22.00-537-gefad45a

Git repo owner gitmaster at git.koha-community.org
Tue Feb 23 22:12:41 CET 2016


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  efad45a0e39703017a894d3ffdd1a7078d13af60 (commit)
       via  80a690588ceac464891dcb2956c3b148433a253c (commit)
      from  1cb371689da5192caa529149a39c7a4389f056e4 (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 efad45a0e39703017a894d3ffdd1a7078d13af60
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Feb 5 10:58:20 2016 +0000

    Bug 15746: Same fix for "write off"
    
    Same fix as before for the "Write off" button next to the "Pay" button.
    
    Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com

commit 80a690588ceac464891dcb2956c3b148433a253c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Fri Feb 5 10:46:28 2016 +0000

    Bug 15746: Do not record individual payments with randomly picked libraries
    
    When a payment is made individualy, the library used to record this
    payment is randomly picked from the library list.
    This is because C4::Branch::GetBranch looks at 1. the $branch variable
    sent by the template, wich does not exist, then 2. the branchname
    cookie, which does not exist neither, then 3. get the first branchcode
    from a list of keys (non ordered).
    
    To reproduce:
    - Create a manual invoice for a patron
    (members/maninvoice.pl?borrowernumber=XXXX)
    - Pay this fine using the "Pay" button of the corresponding line from
      the members/pay.pl?borrowernumber=XXXX page
    Look at the statistics table:
    select * from statistics order by datetime desc limit 10;
    
    The branch value of the first line might not correspond to the library
    you were using to pay the payment.
    
    Test plan:
    Apply this patch, repeat the steps above and confirm that the library
    picked is now the one used to pay.
    
    Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
    Works as advertised
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com

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

Summary of changes:
 members/pay.pl        |    3 +--
 members/paycollect.pl |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list