@extends('admin.layouts.master') @section('content')
@can('view', $ticket->shop) {{ $ticket->shop->name }} @else {{ $ticket->shop->name }} @endcan
@if($ticket->assignedTo)@if($ticket->user->image) @else @endif @can('view', $ticket->user) {{ $ticket->user->getName() }} @else {{ $ticket->user->getName() }} @endcan
@endif{{ $ticket->subject }}
@if(count($ticket->attachments)) {{ trans('app.attachments') . ': ' }} @foreach($ticket->attachments as $attachment) @endforeach @endif @if($ticket->message)
{{ $ticket->assignedTo->getName() }}
@can('view', $ticket->assignedTo)
{{ trans('app.view_detail') }}
@endcan