@extends('layouts.admin') @section('styles') @endsection @section('content')
@foreach ($tower->towerSpaceUnits as $space_unit) @if ($space_unit->status == 'isi')
@else
@endif @endforeach
Kosong: {{ $tower->towerSpaceUnits()->where('type', 'like', 'D%')->where('status', 'kosong')->count() }}
Kosong: {{ $tower->towerSpaceUnits()->where('type', 'like', 'C%')->where('status', 'kosong')->count() }}
Kosong: {{ $tower->towerSpaceUnits()->where('type', 'like', 'B%')->where('status', 'kosong')->count() }}
Kosong: {{ $tower->towerSpaceUnits()->where('type', 'like', 'A%')->where('status', 'kosong')->count() }}
{{ trans('global.show') }} {{ trans('cruds.tower.title') }}
{{ trans('cruds.tower.fields.id') }} {{ $tower->id }}
Site Name {{ $tower->site->name ?? '' }}
{{ trans('cruds.tower.fields.name') }} {{ $tower->name }}
{{ trans('cruds.tower.fields.status') }} Aktif
{{ trans('cruds.tower.fields.name') }} {{ $tower->name }}
Jumlah Space Unit Kosong {{ $tower->towerSpaceUnits()->where('status', 'kosong')->count() }}
Jumlah Space Unit Terisi {{ $tower->towerSpaceUnits()->where('status', 'isi')->count() }}
Peta Lokasi
@includeIf('admin.towers.relationships.towerSpaceUnits', [ 'spaceUnits' => $tower->towerSpaceUnits, ])
@includeIf('admin.towers.relationships.towerSnapshots', [ 'snapshots' => $tower->towerSnapshots, ])
@endsection @section('scripts') @parent @endsection