Tickets List
| Token # | Title | Department | @role('staff')Submitted By | @endroleStatus | Date | action | |
|---|---|---|---|---|---|---|---|
| {{$ticket->token_no}} | {{$ticket->subject}} | {{$ticket->departments->name}} | @role('staff') @if($ticket->user_id == Auth::id())me | @else{{$ticket->submittedBy->name}} | @endif @endrole{{$ticket->status}} | {{$ticket->created_at->format('d-m-Y')}} | @if(Auth::user()->hasRole('client')) @if($settings->client_can_edit == 'yes') @endif @endif @if(Auth::user()->hasRole('staff')) @if($settings->staff_can_edit == 'yes') @endif @endif |