@if (($log->assetlog) && ($log->asset_type=="hardware"))
@elseif (($log->accessorylog) && ($log->asset_type=="accessory"))
@elseif (($log->consumablelog) && ($log->asset_type=="consumable"))
@elseif (($log->licenselog) && ($log->asset_type=="software"))
@else
@endif
|
{{ $log->created_at }} |
{{ $log->action_type }} |
@if (($log->assetlog) && ($log->asset_type=="hardware"))
@if ($log->assetlog->deleted_at=='')
{{ $log->assetlog->showAssetName() }}
@else
{{ $log->assetlog->showAssetName() }} (deleted)
@endif
@elseif (($log->licenselog) && ($log->asset_type=="software"))
@if ($log->licenselog->deleted_at=='')
{{ $log->licenselog->name }}
@else
{{ $log->licenselog->name }} (deleted)
@endif
@elseif (($log->consumablelog) && ($log->asset_type=="consumable"))
@if ($log->consumablelog->deleted_at=='')
{{ $log->consumablelog->name }}
@else
{{ $log->consumablelog->name }} (deleted)
@endif
@elseif (($log->accessorylog) && ($log->asset_type=="accessory"))
@if ($log->accessorylog->deleted_at=='')
{{ $log->accessorylog->name }}
@else
{{ $log->accessorylog->name }} (deleted)
@endif
@else
{{ trans('general.bad_data') }}
@endif
|
{{ $log->adminlog->fullName() }} |
@endforeach