From b8d81c0734c829d2ea858e2f6a66c0bd34705f79 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 11 Jan 2017 18:25:53 -0800 Subject: [PATCH] Added order_number to presenter --- app/Presenters/AssetPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Presenters/AssetPresenter.php b/app/Presenters/AssetPresenter.php index 85c5a85aaa..969d610e8e 100644 --- a/app/Presenters/AssetPresenter.php +++ b/app/Presenters/AssetPresenter.php @@ -96,7 +96,7 @@ class AssetPresenter extends Presenter $results['purchase_cost'] = Helper::formatCurrencyOutput($this->purchase_cost); $results['purchase_date'] = $this->purchase_date ?: ''; $results['notes'] = $this->notes; - $results['order_number'] = ''; + $results['order_number'] = $this->order_number; if (!empty($this->order_number)) { $results['order_number'] = link_to_route('hardware.index', $this->order_number, ['order_number' => $this->order_number]); }