{{ $companyname->v4_value }} Departments {{ $timedate }}
@foreach ($arrColumns as $key => $arrColumn) @if (!in_array($key, json_decode($columnHideShowData))) @endif @endforeach @php $total=0; @endphp @foreach ($departments as $department) @php $total = $total + $department->employee; @endphp @php $arrRows = [$department->name, $department->description, $department->email, $department->forecast, $department->employee, $department->percent]; @endphp @for ($k = 0; $k < count($arrRows); $k++) @if (!in_array($k, json_decode($columnHideShowData))) @endif @endfor @endforeach
{{ $arrColumn }}
{{ $arrRows[$k] }}
Total {{ $total }}