Worker Activity ( Howrah Municipal Corp. )

{{$totalActivity}}

Total Activity

{{$todayActivity}}

Today Activity

Activity List

Reset
@php $sl = 1; @endphp @foreach($params as $date => $rows) @foreach($rows as $row) {{-- Supervisor --}} {{-- Assigned --}} {{-- Sessions --}} {{-- Visited --}} @endforeach @endforeach
SL. No. Date Block Supervisor Name VAT/GVP Assigned Sessions (In / Out) VAT/GVP Visited
{{ $sl++ }} {{ \Carbon\Carbon::parse($date)->format('d/m/Y') }}{{ $row['supervisor'] }} @if(count($row['assigned'])) @else @endif @if($row['sessions'] > 0) @else No sessions @endif @if(count($row['visited'])) @foreach($row['visited'] as $key => $visited) @php [$place, $time] = explode(' @ ', $visited); $imagePath = $row['capturedImages'][$key] ?? null; $base64 = null; if ($imagePath != null && !empty(Storage::disk('hmc')->exists($imagePath))) { $imageContent = Storage::disk('hmc')->get($imagePath); $mimeType = Storage::disk('hmc')->mimeType($imagePath); $base64 = 'data:' . $mimeType . ';base64,' . base64_encode($imageContent); } @endphp @if($base64) @endif @endforeach @else No visit yet @endif