From 438f484d68551f104818b47b9aeb95af30c2c15d Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 5 Dec 2017 14:03:08 -0800 Subject: [PATCH] Removed duplicate purchase cost column --- app/Http/Controllers/ReportsController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.php index d413413921..ba93c0da4c 100644 --- a/app/Http/Controllers/ReportsController.php +++ b/app/Http/Controllers/ReportsController.php @@ -515,7 +515,6 @@ class ReportsController extends Controller $header[] = 'Warranty Expires'; } if ($request->has('depreciation')) { - $header[] = 'Purchase Cost'; $header[] = 'Value'; $header[] = 'Diff'; } @@ -686,9 +685,6 @@ class ReportsController extends Controller $row[] = $asset->present()->warrantee_expires(); } - if ($request->has('purchase_cost')) { - $row[] = ($asset->purchase_cost!='') ? Helper::formatCurrencyOutput($asset->purchase_cost) : ''; - } if ($request->has('depreciation')) { $depreciation = $asset->getDepreciatedValue();