mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Fixed EOL in custom report
This commit is contained in:
parent
deba4d2b81
commit
e490185533
|
@ -637,7 +637,7 @@ class ReportsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->has('eol')) {
|
if ($request->has('eol')) {
|
||||||
$row[] = ($asset->eol) ? $asset->present()->eol_date() : '';
|
$row[] = ($asset->purchase_date!='') ? $asset->present()->eol_date() : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->has('order')) {
|
if ($request->has('order')) {
|
||||||
|
|
Loading…
Reference in a new issue