[open-ils-commits] [GIT] Evergreen ILS branch master updated. 8b77b6841833b7448fc2afdcea31911833581b72

Evergreen Git git at git.evergreen-ils.org
Thu Jul 21 22:08:12 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, master has been updated
       via  8b77b6841833b7448fc2afdcea31911833581b72 (commit)
      from  c0fc32b5f812eb72be4e523470be9b887f9364f5 (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 8b77b6841833b7448fc2afdcea31911833581b72
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