@extends('layouts.app') @section('title', 'Box Details') @section('page-title', 'Box Details') @section('content')
Box Details: {{ $box->name }}
ID: {{ $box->id }}
Name: {{ $box->name }}
Code: -
Sub Zone: {{ $box->subZone->name }}
Zone: {{ $box->subZone->zone->name }}
Status: @if($box->is_active) Active @else Inactive @endif
Coordinates: @if($box->latitude && $box->longitude) {{ number_format($box->latitude, 8) }}, {{ number_format($box->longitude, 8) }} View on Map @else Not set @endif
IP Address: @if($box->ip_address) - @else Not assigned @endif
MAC Address: @if($box->mac_address) - @else Not specified @endif
Created: {{ $box->created_at->format('M d, Y H:i') }}
Updated: {{ $box->updated_at->format('M d, Y H:i') }}
@if($box->description)
Description:

{{ $box->description }}

@endif
Network Information
IP Address

@if($box->ip_address) - @else Not set @endif

Coordinates

@if($box->latitude && $box->longitude) {{ number_format($box->latitude, 6) }}, {{ number_format($box->longitude, 6) }} @else Not set @endif

Location Details
@if($box->location)

{{ $box->location }}

@else

No location specified

@endif
Hierarchy
Zone
{{ $box->subZone->zone->name }}
Sub Zone
{{ $box->subZone->name }}
@endsection