@php $results_obj = json_decode($data_array); $ViewAllReport=$GetUserAccess['ViewAllReport']; $CreateReportAccess=$GetUserAccess['CreateReport']; $EditReport=$GetUserAccess['EditReport']; $LoggedUsser=$LoggedUsser; $DeleteAccess=0; if($LoggedUsser==1) { $DeleteAccess=1; } // echo "
"; //print_r($results_obj); //print_r($AdhocReportType); // echo ""; @endphp @if($ViewAllReport!=1) You Dont have Access for View the List of Report's ! @else @php //if(empty($data_array)) if(array_filter($results_obj) == []) { // on 16th Nov '21 @endphp
| No | Name | Created On | Created By | Assigned To | Report Type | Action | |
|---|---|---|---|---|---|---|---|
| {{$i}} | @php echo $svg; @endphp | {{$key->AdHocReportName}} | {{$key->CreatedDate}} | @php echo $display_value=$AssignedToList[$key->CreatedBy]['name']; @endphp | @php echo $display_value=$AssignedToList[$key->AssignedTo]['name']; @endphp | @if(array_key_exists($key->AdHocReportType,$AdhocReportType)) {{$AdhocReportType[$key->AdHocReportType]}} @else {{$key->AdHocReportType}} @endif | @if($EditReport==1) @endif @if($DeleteAccess==1) @endif |