@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.dashboard') }} @parent @stop {{-- Page content --}} @section('content')
{{ trans('general.total_assets') }}
{{ trans('general.total_licenses') }}
total accessories
total consumables
{{ trans('general.date') }} | {{ trans('general.admin') }} | {{ trans('table.actions') }} | {{ trans('table.item') }} | To | |
---|---|---|---|---|---|
@if ($activity->asset_type=="hardware") @elseif ($activity->asset_type=="accessory") @elseif ($activity->asset_type=="consumable") @elseif ($activity->asset_type=="license") @elseif ($activity->asset_type=="component") @else @endif | {{ date("M d, Y g:iA", strtotime($activity->created_at)) }} | @if ($activity->action_type!='requested') @if ($activity->adminlog) {{ $activity->adminlog->fullName() }} @else Deleted Admin @endif @endif | {{ strtolower(trans('general.'.str_replace(' ','_',$activity->action_type))) }} | @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 }} @elseif (($activity->componentlog) && ($activity->asset_type=="component")) {{ $activity->componentlog->name }} @elseif (($activity->assetlog) && ($activity->action_type=="uploaded")) {{ $activity->assetlog->showAssetName() }} @elseif (($activity->userlog) && ($activity->action_type=="uploaded")) {{ $activity->userlog->fullName() }} @else {{ trans('general.bad_data') }} @endif | @if (($activity->componentlog) && ($activity->asset_type=="component")) {{ $activity->assetlog->showAssetName() }} @elseif($activity->action_type=='requested') @if ($activity->adminlog) {{ $activity->adminlog->fullName() }} @endif @elseif ($activity->userlog) {{ $activity->userlog->fullName() }} @endif |