flesh lids and fund debits in invoice retrieve
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Apr 2010 16:45:41 +0000 (16:45 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 8 Apr 2010 16:45:41 +0000 (16:45 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16171 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Acq/Invoice.pm

index 8c99f0b..3e56206 100644 (file)
@@ -116,12 +116,13 @@ sub fetch_invoice_impl {
     my $args = $options->{"no_flesh_misc"} ? $invoice_id : [
         $invoice_id,
         {
-            "flesh" => 4,
+            "flesh" => 6,
             "flesh_fields" => {
                 "acqinv" => ["entries", "items"],
                 "acqie" => ["lineitem", "purchase_order"],
                 "acqii" => ["fund_debit"],
-                "jub" => ["attributes"]
+                "jub" => ["attributes", "lineitem_details"],
+                "acqlid" => ["fund_debit"]
             }
         }
     ];