@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.dashboard') }} @parent @stop {{-- Page content --}} @section('content')
{{ trans('general.total_licenses') }}
{{ trans('general.date') }} | {{ trans('general.admin') }} | {{ trans('table.item') }} | {{ trans('table.actions') }} | {{ trans('general.user') }} |
---|---|---|---|---|
{{ date("M d", strtotime($activity->created_at)) }} | @if ($activity->action_type!='requested') {{ $activity->adminlog->fullName() }} @endif | @if (($activity->assetlog) && ($activity->asset_type=="hardware")) {{ $activity->assetlog->showAssetName() }} @elseif (($activity->licenselog) && ($activity->asset_type=="software")) {{ $activity->licenselog->name }} @elseif (($activity->consumablelog) && ($activity->asset_type=="consumable")) {{ $activity->consumablelog->name }} @elseif (($activity->accessorylog) && ($activity->asset_type=="accessory")) {{ $activity->accessorylog->name }} @else {{ trans('general.bad_data') }} @endif | {{ strtolower(trans('general.'.str_replace(' ','_',$activity->action_type))) }} | @if ($activity->action_type=='requested') {{ $activity->adminlog->fullName() }} @elseif ($activity->userlog) {{ $activity->userlog->fullName() }} @endif |