mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Added order_number to presenter
This commit is contained in:
parent
900e6e2419
commit
b8d81c0734
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue