mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Handle potentially deleted admin users in license export
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e163d5cfc7
commit
8b3ff5a82d
|
@ -360,7 +360,7 @@ class LicensesController extends Controller
|
||||||
$license->order_number,
|
$license->order_number,
|
||||||
$license->free_seat_count,
|
$license->free_seat_count,
|
||||||
$license->seats,
|
$license->seats,
|
||||||
$license->adminuser->present()->fullName(),
|
($license->adminuser ? $license->adminuser->present()->fullName() : trans('admin/reports/general.deleted_user')),
|
||||||
$license->depreciation ? $license->depreciation->name: '',
|
$license->depreciation ? $license->depreciation->name: '',
|
||||||
$license->updated_at,
|
$license->updated_at,
|
||||||
$license->deleted_at,
|
$license->deleted_at,
|
||||||
|
|
Loading…
Reference in a new issue