From 0bdd8a59175a846c70ac122dd4b2124d67cbd6b8 Mon Sep 17 00:00:00 2001 From: akemidx Date: Wed, 2 Aug 2023 16:40:38 -0400 Subject: [PATCH] fixing key names --- app/Http/Controllers/ReportsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.php index 030823d03d..9bb4a420c0 100644 --- a/app/Http/Controllers/ReportsController.php +++ b/app/Http/Controllers/ReportsController.php @@ -723,7 +723,7 @@ class ReportsController extends Controller $row[] = ($asset->purchase_cost) ? Helper::formatCurrencyOutput($asset->purchase_cost) : ''; } - if ($request->filled('asset_eol_date')) { + if ($request->filled('eol')) { $row[] = ($asset->purchase_date != '') ? $asset->asset_eol_date : ''; }