@extends('adminlayout.admin') @section('content')

Requests

@if($type == 'Pending') @endif
@if($type != 'Pending') @endif @if(Auth::User()->hasRole('super_admin')) @if($type != 'Complete') @endif @endif @php $i=1; @endphp @foreach($data as $data) @if($type != 'Pending') @endif @if($type != 'Complete') @endif @endforeach
S.no Ticket Subject DetailsEmployee Name Employee User IDSender Images Date StatusAction
{{$i++}} {{ ($data->employee_id)? $data->employee->name : '' }} {{ ($data->employee_id)? $data->employee->user_id : '' }} {{ ($data->sender )? $data->sender->name:'' }} ({{ ($data->sender )? $data->sender->user_id:'' }}) @if(!empty($data->images)) @endif {{$data->created_at}} @if(Auth::User()->hasRole('super_admin')) @if($data->status == 'Pending') @endif @endif @if($data->status == 'Proccess') @if(Auth::User()->hasRole('super_admin')) @else @endif @if(Auth::User()->hasRole('super_admin')) @endif @endif
@endsection