[open-ils-commits] [GIT] Evergreen ILS branch rel_2_10 updated. 5a97be51a7368f81c181444955b5a5ff8d9535ae

Evergreen Git git at git.evergreen-ils.org
Thu Jul 21 22:10:15 EDT 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 "Evergreen ILS".

The branch, rel_2_10 has been updated
       via  5a97be51a7368f81c181444955b5a5ff8d9535ae (commit)
      from  4b90a2aa40a34332c509826c00d66f0d63e0f07f (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 5a97be51a7368f81c181444955b5a5ff8d9535ae
Author: Jeff Davis <jdavis at sitka.bclibraries.ca>
Date:   Thu Jul 14 14:10:13 2016 -0700

    LP#1589586: use all fund debits (even encumbrances) when doing prorate calculations
    
    Signed-off-by: Jeff Davis <jdavis at sitka.bclibraries.ca>
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm
index a8126f4..80d8e3c 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Invoice.pm
@@ -746,7 +746,7 @@ sub prorate_invoice {
 
     my @lid_debits;
     push(@lid_debits, 
-        @{find_entry_debits($e, $_, 'linked', 'f', entry_amount_per_item($_))}) 
+        @{find_entry_debits($e, $_, 'linked', undef, entry_amount_per_item($_))})
         for @{$invoice->entries};
 
     my $inv_items = $e->search_acq_invoice_item([

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

Summary of changes:
 .../lib/OpenILS/Application/Acq/Invoice.pm         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list