asset_eol_date stuff

This commit is contained in:
akemidx 2023-07-26 17:45:18 -04:00
parent f71b69a739
commit e35dd2daa1

View file

@ -723,8 +723,8 @@ class ReportsController extends Controller
$row[] = ($asset->purchase_cost) ? Helper::formatCurrencyOutput($asset->purchase_cost) : '';
}
if ($request->filled('eol')) {
$row[] = ($asset->purchase_date != '') ? $asset->present()->eol_date() : '';
if ($request->filled('asset_eol_date')) {
$row[] = ($asset->purchase_date != '') ? $asset->asset_eol_date : '';
}
if ($request->filled('order')) {