[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 2b1ba191e443fae1f18dbeeee23ea2445a83a61d

Evergreen Git git at git.evergreen-ils.org
Mon Mar 11 16:31:08 EDT 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 "Evergreen ILS".

The branch, rel_2_3 has been updated
       via  2b1ba191e443fae1f18dbeeee23ea2445a83a61d (commit)
      from  0cbff297cc45f057105a9779e96bd1cc427a6c6b (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 2b1ba191e443fae1f18dbeeee23ea2445a83a61d
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Nov 21 10:12:39 2012 -0500

    extract PO name from picklist upload
    
    If a PO name is encoded in a lineitem (via provider attribute
    definition), extract that PO name when creating a new purchase order
    from lineitems that were previously only linked to a selection list.
    This allows staff to create selection lists first, then orders second,
    while retaining the encoded purchase order name.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
index 7c66162..fbf9015 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
@@ -1778,6 +1778,10 @@ sub create_purchase_order_api {
         }
     }
 
+    # see if we have a PO name encoded in any of our lineitems
+    my $evt = extract_po_name($mgr, $po, $li_ids);
+    return $evt if $evt;
+
     # commit before starting the asset creation
     $e->xact_commit;
 

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

Summary of changes:
 .../perlmods/lib/OpenILS/Application/Acq/Order.pm  |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list