@if($assetType == 0) @else @endif @if($assetType == 0) @endif @if($assetType == 0) @endif @foreach($assets as $asset) @if ($assetType == 0) @endif @if($assetType != 0) @endif @if($assetType == 0) @php $location = data_get($asset::LOCATIONS, $asset->location); @endphp @endif @php $createdType = data_get($asset::CREATED_TYPES, $asset->created_type); @endphp @if ($assetType == 0) @endif @endforeach
Domain IP Open Ports OS Impact Site ID Mac Address Vendor Model Version Open Ports Authorized Type of SystemName IP Port Impact Prog lang Local langDescription Date ScannedLocation DivisionManual/Automated Created AtBaseline
{!! \App\Models\CAD\Asset::formatHostNameColumn($asset->server_name, "
") !!}
{!! $asset->ip_address !!} {!! is_array($asset->open_ports) ? implode(', ', $asset->open_ports) : str_replace(['"','[',']'], '',$asset->open_ports) !!} {!! $asset->os !!} {!! $asset->lvl_cb !!} {!! $asset->site_id !!} {!! $asset->mac_address !!} {!! $asset->vendor !!} {!! $asset->model !!} {!! $asset->version !!} {!! is_array($asset->open_ports_authorized) ? implode(', ', $asset->open_ports_authorized) : str_replace(['"','[',']'], '',$asset->open_ports_authorized) !!} {!! $asset->system_type !!}{!! $asset->name !!} {!! $asset->ip_address !!} {!! $asset->port !!} {!! $asset->lvl_cb !!} {!! $asset->p_lang !!} {!! $asset->app_lang !!}{!! $asset->description !!} @php if ($asset->date_scanned !== null) { echo date('m/d/Y', strtotime($asset->date_scanned)); } @endphp{{ is_array($location) ? null : $location }} {{ $asset->divisionName }}{{ is_array($createdType) ? null : $createdType }} {{ $asset->created_at->format('m/d/Y') }}{{ $asset->baseline }}