From: Jason Etheridge Date: Mon, 11 Nov 2019 19:52:57 +0000 (-0500) Subject: flesh some columns for purchase order grid X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a790bcde250ac3bdc9d46dcd54fe8b061789593c;p=working%2FEvergreen.git flesh some columns for purchase order grid Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts b/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts index 73c3791c35..9e21871ae8 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/acq-search.service.ts @@ -44,6 +44,10 @@ const searchOptions = { }, purchase_order: { no_flesh_cancel_reason: true, + flesh_provider: true, + flesh_owner: true, + flesh_creator: true, + flesh_editor: true }, picklist: { flesh_lineitem_count: true, diff --git a/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html b/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html index 3b6e7fa24d..ee05ad9ab4 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html +++ b/Open-ILS/src/eg2/src/app/staff/acq/search/purchase-order-results.component.html @@ -6,9 +6,9 @@ - - {{purchaseorder.provider()}} + {{purchaseorder.provider().code()}} diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Financials.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Financials.pm index e66e648563..062a9d1e69 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Financials.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Financials.pm @@ -1015,6 +1015,15 @@ sub retrieve_purchase_order_impl { if ($options->{"flesh_provider"}) { push @{$flesh->{"flesh_fields"}->{"acqpo"}}, "provider"; } + if ($options->{"flesh_owner"}) { + push @{$flesh->{"flesh_fields"}->{"acqpo"}}, "owner"; + } + if ($options->{"flesh_creator"}) { + push @{$flesh->{"flesh_fields"}->{"acqpo"}}, "creator"; + } + if ($options->{"flesh_editor"}) { + push @{$flesh->{"flesh_fields"}->{"acqpo"}}, "editor"; + } push (@{$flesh->{flesh_fields}->{acqpo}}, 'po_items') if $options->{flesh_po_items};