fixing key names

This commit is contained in:
akemidx 2023-08-02 16:40:38 -04:00
parent e35dd2daa1
commit 0bdd8a5917

View file

@ -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 : '';
}