@php $edit = !is_null($dataTypeContent->getKey()); $add = is_null($dataTypeContent->getKey()); @endphp @extends('voyager::master') @section('css') @stop @section('page_title', __('voyager::generic.'.($edit ? 'edit' : 'add')).' '.$dataType->display_name_singular) @section('page_header') @include('voyager::multilingual.language-selector') @endsection @section('content') @php $ticket = \App\Models\Ticket::query()->findOrFail(request()->id); @endphp

title : {{ $ticket->title }}

@foreach($ticket->messages as $message)
is_admin) class="green Condition" style="min-width:200px;max-width:500px;text-align:right;border-bottom-right-radius:0;padding:10px 20px; margin-top: 20px;margin-bottom: 20px;margin-right: 10px" @else class="acsses" style="min-width:200px;max-width:500px;text-align:left;border-bottom-left-radius:0;padding:10px 20px; margin: unset; margin-top: 20px;margin-bottom: 20px;" @endif> @if($message->is_admin)
Admin
@else
{{ $message->player->full_name }}
@endif {{ $message->desc }}
@endforeach
@csrf
@endsection @section('javascript') @endsection