@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.activity_report') }} @parent @stop {{-- Page content --}} @section('content')
{{ trans('general.admin') }} | {{ trans('general.action') }} | {{ trans('general.type') }} | {{ trans('general.item') }} | {{ trans('general.user') }} | {{ trans('general.date') }} |
---|---|---|---|---|---|
{{ $log_action->adminlog->fullName() }} | {{ $log_action->action_type }} | @if ($log_action->asset_type=="hardware") Asset @elseif ($log_action->asset_type=="software") License @elseif ($log_action->asset_type=="accessory") Accessory @elseif ($log_action->asset_type=="consumable") Consumable @endif | @if (($log_action->assetlog) && ($log_action->asset_type=="hardware")) {{ $log_action->assetlog->showAssetName() }} @elseif (($log_action->licenselog) && ($log_action->asset_type=="software")) {{ $log_action->licenselog->name }} @elseif (($log_action->consumablelog) && ($log_action->asset_type=="consumable")) {{ $log_action->consumablelog->name }} @elseif (($log_action->accessorylog) && ($log_action->asset_type=="accessory")) {{ $log_action->accessorylog->name }} @else {{ trans('general.bad_data') }} @endif | @if ($log_action->userlog) {{ $log_action->userlog->fullName() }} @endif | {{ $log_action->created_at }} |