@if (!empty($data)) @foreach($data as $key=>$dat)
{{$dat['emp_code']}}
{{$dat['emp_name']}} @if (($dat['count_after_930'] + $dat['count_after_930_dis']) > 0) {{$dat['count_after_930'] + $dat['count_after_930_dis']}} @else 0 @endif @if (($dat['count_dates_consecutive']) > 0) {{$dat['count_dates_consecutive']}} @else 0 @endif @if (($dat['count_lwop']) > 0) {{$dat['count_lwop']}} @else 0 @endif @if (($dat['count_absent'] + $dat['count_absent_dis']) > 0) {{$dat['count_absent'] + $dat['count_absent_dis']}} @else 0 @endif {{$dat['count_after_930'] + $dat['count_after_930_dis'] + $dat['count_absent'] + $dat['count_absent_dis'] + $dat['count_dates_consecutive'] + $dat['count_lwop']}} {{$dat['emp_annual_leaves']}} @if ($dat['emp_annual_leaves_deduction'] < 0) {{$dat['emp_annual_leaves_deduction']}} @endif @endforeach() @endif