@extends('layouts.app') @section('title', 'Postes Registrados') @section('page_title', 'Visualizador de Estructuras') @section('content')
@if(request('project_id') || request('tramo')) @endif
Estructuras Levantadas

Revise los detalles técnicos recopilados y apruebe/rechace los registros de campo.

@if($structures->isEmpty())

No se encontraron estructuras registradas para la consulta.

@else
@foreach($structures as $struct) @endforeach
Item Código Tramo / Ubicación Coordenadas (Lat, Lng) Elemento de Red Fotos Estado Acciones
#{{ $struct->item }} {{ $struct->structureCode }} {{ $struct->tramo }}
{{ $struct->project_name ?: 'Sin Proyecto' }}
Lado: {{ $struct->location ?: 'N/A' }}
@if($struct->latitude && $struct->longitude) {{ number_format($struct->latitude, 6) }}, {{ number_format($struct->longitude, 6) }} @else N/A @endif {{ $struct->typeNetworkElement }} @php $fotos = json_decode($struct->fotos, true) ?? []; @endphp @if(!empty($fotos))
@foreach($fotos as $index => $foto) @php $tenantId = tenant('id'); $imageUrl = asset("storage/tenants/{$tenantId}/images/{$foto}"); @endphp @endforeach
@else Sin fotos @endif
@if($struct->status == 'approved') Aprobado @elseif($struct->status == 'rejected') Rechazado @else Pendiente @endif
@if($struct->status == 'pending')
@csrf
@csrf
@endif
@endif
@endsection