@php $title = $sub->name; @endphp @extends('layouts.app') @section('title', $title) @section('content') @include('shared.button', ['type' => 'edit', 'url' => route('projects.subs.edit', [$project, $sub])]) @include('shared.button', ['type' => 'delete', 'url' => route('projects.subs.destroy', [$project, $sub])]) @switch($project->type) @case('ImageProcessing')

{{ __('forms.images') }}

@include('projects.subs.partial.ar', ['ar' => $sub->AR(), 'show' => true])
@break @case('Panorama')

{{ __('forms.items') }}

@if($sub->Panorama->type == 'video') @endif @forelse($sub->Panorama->Items as $key => $item) @if($sub->Panorama->type == 'video') @endif @empty @endforelse
# {{ __('forms.title') }} {{ __('forms.form') }} X Y From To
{{ $key + 1 }} {{ $item->title }} {{ $item->Form->name }} {{ $item->x }} {{ $item->y }} {{ $item->from ?? '---' }} {{ $item->to ?? '---' }}
{{ __('table.NoRecords') }}
@break @case('VR') @break @case('Location')
@foreach($sub->Locations() as $location) @endforeach
@break @case('3D') @if($sub->Files->where('use_type', '!=', 'icon')->count())

Textures :

@endif

3D Models :

@break @endswitch @if($project->type == 'Location') @endif @endsection