mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Add additional fields to Download All in Activity Report
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
518c43680d
commit
96211cf73c
|
@ -247,6 +247,9 @@ class ReportsController extends Controller
|
||||||
trans('general.action'),
|
trans('general.action'),
|
||||||
trans('general.type'),
|
trans('general.type'),
|
||||||
trans('general.item'),
|
trans('general.item'),
|
||||||
|
trans('general.license_serial'),
|
||||||
|
trans('general.model_name'),
|
||||||
|
trans('general.model_no'),
|
||||||
'To',
|
'To',
|
||||||
trans('general.notes'),
|
trans('general.notes'),
|
||||||
'Changed',
|
'Changed',
|
||||||
|
@ -289,6 +292,9 @@ class ReportsController extends Controller
|
||||||
$actionlog->present()->actionType(),
|
$actionlog->present()->actionType(),
|
||||||
e($actionlog->itemType()),
|
e($actionlog->itemType()),
|
||||||
($actionlog->itemType() == 'user') ? $actionlog->filename : $item_name,
|
($actionlog->itemType() == 'user') ? $actionlog->filename : $item_name,
|
||||||
|
($actionlog->item->serial) ? $actionlog->item->serial : null,
|
||||||
|
($actionlog->item->model) ? htmlspecialchars($actionlog->item->model->name, ENT_NOQUOTES) : null,
|
||||||
|
($actionlog->item->model) ? $actionlog->item->model->model_number : null,
|
||||||
$target_name,
|
$target_name,
|
||||||
($actionlog->note) ? e($actionlog->note) : '',
|
($actionlog->note) ? e($actionlog->note) : '',
|
||||||
$actionlog->log_meta,
|
$actionlog->log_meta,
|
||||||
|
|
Loading…
Reference in a new issue