@extends('panel.layouts.master') @section('css') @endsection @section('content')

عنوان تیکت : {{ $ticket->subject }}

{!! $ticket->content !!}
@foreach ($ticket->audios as $it)
@if (file_exists(storage_path('app/ticket/' . $it->file)) && $it->file != '') @endif
@endforeach @foreach ($ticket->files as $item)
@if (file_exists(storage_path('app/ticket/' . $item->file)) && $item->file != '') فایل شماره ({{ $loop->index + 1 }}) @endif
@endforeach

مشخصات تیکت

اولویت : {{ $ticket->priority->name }}
وضعیت تیکت : {{ $ticket->status->name }}
دپارتمان : {{ $ticket->category->name }}
تاریخ ثبت تیکت : {{ jdate($ticket->created_at) }}
@foreach ($ticket->comments()->latest()->get() as $item)

{{ $item->user->nf }} ({{ jdate($item->created_at)->ago() }})

{!! $item->content !!}

@foreach ($item->audios as $it)
@if (file_exists(storage_path('app/ticket/' . $it->file)) && $it->file != '') @endif
@endforeach @foreach ($item->files as $it)
@if (file_exists(storage_path('app/ticket/' . $it->file)) && $it->file != '') فایل شماره ({{ $loop->index + 1 }}) @endif
@endforeach
@endforeach
@endsection @section('js-page') @endsection