@extends('backend/layouts/default') {{-- Page title --}} @section('title') @lang('general.activity_report') :: @parent @stop {{-- Page content --}} @section('content')
@foreach ($log_actions as $log_action) @endforeach
@lang('general.admin') @lang('general.action') @lang('general.type') @lang('general.item') @lang('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 @lang('general.bad_data') @endif @if ($log_action->userlog) {{{ $log_action->userlog->fullName() }}} @endif {{{ $log_action->created_at }}}
@stop