@extends('layouts.base') @section('title', 'Admin · Waypoint #'.$point->id) @section('content')
← {{ __('Back to waypoints') }}

{{ __('Waypoint #:id', ['id' => $point->id]) }} · {{ $point->name ?? '—' }}

ID
{{ $point->id }}
{{ __('Name') }}
{{ $point->name ?? '—' }}
{{ __('Owner') }}
@if($point->user) {{ $point->user->name }}
{{ $point->user->email }}
@else {{ __('Deleted user') }} @endif
{{ __('Address') }}
{{ $point->address1 ?? '—' }}
{{ $point->address2 ?? '' }} @if($point->postcode || $point->city)
{{ trim(($point->postcode ?? '').' '.($point->city ?? '')) }}
@endif @if($point->country_isocode)
{{ $point->country_isocode }}
@endif
{{ __('Coordinates') }}
{{ $point->latitude ?? '—' }}, {{ $point->longitude ?? '—' }}
{{ __('Altitude') }}: {{ $point->altitude ?? '—' }}
{{ __('Serial') }}
{{ $point->serial ?? '—' }}
{{ __('Comment') }}
{{ $point->comment ?? '—' }}
{{ __('Edit waypoint') }}
@csrf @method('PUT')
@php $qrUrl = $point->qrcode ? Storage::disk('public')->url($point->qrcode) : null; $photoUrl = $point->photo ? Storage::url($point->photo) : null; @endphp

QR Code

@if($qrUrl) QR code
{{ __('Open original') }}
@else
{{ __('No QR code available') }}
@endif

{{ __('Photo') }}

@if($photoUrl) {{ __('Point photo') }} @else
{{ __('No photo provided') }}
@endif
@endsection