@if(!empty($ActivityLogs)) @foreach($ActivityLogs as $logs) @php $getNames = \App\Models\Establishments::select(\DB::raw("GROUP_CONCAT(business_name,' ') as store_name"))->where('id',$logs['properties']['attributes']['establishment_id'])->first(); @endphp @endforeach @else @endif
{{__('lbl.operation_type')}} {{__('lbl.device_type')}} {{__('lbl.store_name')}} {{__('lbl.total_hours')}} {{__('lbl.created_date')}} {{__('lbl.clock_in_time')}} {{__('lbl.clock_out_time')}} {{__('lbl.remarks')}}
{{$logs['event']}} {{$logs['properties']['attributes']['device_type']}}{{ ($getNames) ? $getNames->store_name : '' }} {{$logs['properties']['attributes']['total_hours']}} {{$logs['properties']['attributes']['created_date']}} {{$logs['properties']['attributes']['clockin_time']}} {{$logs['properties']['attributes']['clockout_time']}} {{$logs['properties']['attributes']['remarks']}}
{{__('lbl.no_record_found')}}