mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Added new fields to action report
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
7aabf94a35
commit
421802893e
|
@ -252,6 +252,9 @@ class ReportsController extends Controller
|
|||
trans('general.model_no'),
|
||||
'To',
|
||||
trans('general.notes'),
|
||||
trans('admin/settings/general.login_ip'),
|
||||
trans('admin/settings/general.login_user_agent'),
|
||||
trans('general.action_source'),
|
||||
'Changed',
|
||||
|
||||
];
|
||||
|
@ -298,6 +301,9 @@ class ReportsController extends Controller
|
|||
$target_name,
|
||||
($actionlog->note) ? e($actionlog->note) : '',
|
||||
$actionlog->log_meta,
|
||||
$actionlog->remote_ip,
|
||||
$actionlog->user_agent,
|
||||
$actionlog->action_source,
|
||||
];
|
||||
fputcsv($handle, $row);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue