@extends('layouts.app') @section('content')
{{ $tour->name }}
@csrf
@if(App\Tour::has_participant($tour->id, Auth::user()->id)) @else @endif @if(file_exists (public_path ('img/tour/'.$tour->id.'.jpg'))) @else @endif
is_cancelled) checked @endif onclick="return false;" >
Bearbeiten
Ok @if(!App\Tour::has_participant($tour->id, Auth::user()->id)) @else Absagen @endif
Teilnehmer
    @if ($room_id="") @endif @foreach($rooms as $room) @if ($room_id != $room->room_id) @if(strlen($room_id))

    -------------------------

    @endif

    [{{$room->room_id}}] {{$room->room_name}}

    @if ($room_id=$room->room_id) @endif @endif @if(strlen($room->user_name))
  • {{ $room->user_name}} @if(Auth::user()->role=="ADMIN") (X) Stornieren @endif
  • @endif @endforeach
@endsection