@extends('layouts.app') @section('title', 'Box Details') @section('page-title', 'Box Details') @section('content')
| 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') }} |
{{ $box->description }}
@if($box->ip_address) - @else Not set @endif
@if($box->latitude && $box->longitude) {{ number_format($box->latitude, 6) }}, {{ number_format($box->longitude, 6) }} @else Not set @endif
{{ $box->location }}
@elseNo location specified