@if($results)
@foreach($results as $k=>$hour_result)
- {{ isset($hour_result->monday)?json_decode($hour_result->monday)->WH :'-'}}
- {{ isset($hour_result->tuesday)?json_decode($hour_result->tuesday)->WH :'-'}}
- {{ isset($hour_result->wednesday)?json_decode($hour_result->wednesday)->WH :'-'}}
- {{ isset($hour_result->thursday)?json_decode($hour_result->thursday)->WH :'-'}}
- {{ isset($hour_result->friday)?json_decode($hour_result->friday)->WH :'-'}}
- {{ isset($hour_result->saturday)?json_decode($hour_result->saturday)->WH :'-'}}
- {{ isset($hour_result->sunday)?json_decode($hour_result->sunday)->WH :'-'}}
{{-- - {{ isset($hour_result->total_work_hours)?$hour_result->total_work_hours :'-'}}
--}}
- {{ isset($hour_result->monday)?json_decode($hour_result->monday)->OT :'-'}}
- {{ isset($hour_result->tuesday)?json_decode($hour_result->tuesday)->OT :'-'}}
- {{ isset($hour_result->wednesday)?json_decode($hour_result->wednesday)->OT :'-'}}
- {{ isset($hour_result->thursday)?json_decode($hour_result->thursday)->OT :'-'}}
- {{ isset($hour_result->friday)?json_decode($hour_result->friday)->OT :'-'}}
- {{ isset($hour_result->saturday)?json_decode($hour_result->saturday)->OT :'-'}}
- {{ isset($hour_result->sunday)?json_decode($hour_result->sunday)->OT :'-'}}
{{-- - {{ isset($hour_result->total_ot_hours)?$hour_result->total_ot_hours :'-'}}
--}}
@endforeach
@endif
@if($results_approve)
@foreach($results_approve as $k=>$hour_result)
- {{ isset($hour_result->monday)?json_decode($hour_result->monday)->WH :'-'}}
- {{ isset($hour_result->tuesday)?json_decode($hour_result->tuesday)->WH :'-'}}
- {{ isset($hour_result->wednesday)?json_decode($hour_result->wednesday)->WH :'-'}}
- {{ isset($hour_result->thursday)?json_decode($hour_result->thursday)->WH :'-'}}
- {{ isset($hour_result->friday)?json_decode($hour_result->friday)->WH :'-'}}
- {{ isset($hour_result->saturday)?json_decode($hour_result->saturday)->WH :'-'}}
- {{ isset($hour_result->sunday)?json_decode($hour_result->sunday)->WH :'-'}}
{{-- - {{ isset($hour_result->total_work_hours)?$hour_result->total_work_hours :'-'}}
--}}
- {{ isset($hour_result->monday)?json_decode($hour_result->monday)->OT :'-'}}
- {{ isset($hour_result->tuesday)?json_decode($hour_result->tuesday)->OT :'-'}}
- {{ isset($hour_result->wednesday)?json_decode($hour_result->wednesday)->OT :'-'}}
- {{ isset($hour_result->thursday)?json_decode($hour_result->thursday)->OT :'-'}}
- {{ isset($hour_result->friday)?json_decode($hour_result->friday)->OT :'-'}}
- {{ isset($hour_result->saturday)?json_decode($hour_result->saturday)->OT :'-'}}
- {{ isset($hour_result->sunday)?json_decode($hour_result->sunday)->OT :'-'}}
{{-- - {{ isset($hour_result->total_ot_hours)?$hour_result->total_ot_hours :'-'}}
--}}
@endforeach
@else
No Data
@endif
@if($results_unapprove)
@foreach($results_unapprove as $k=>$hour_result)
- {{ isset($hour_result->monday)?json_decode($hour_result->monday)->WH :'-'}}
- {{ isset($hour_result->tuesday)?json_decode($hour_result->tuesday)->WH :'-'}}
- {{ isset($hour_result->wednesday)?json_decode($hour_result->wednesday)->WH :'-'}}
- {{ isset($hour_result->thursday)?json_decode($hour_result->thursday)->WH :'-'}}
- {{ isset($hour_result->friday)?json_decode($hour_result->friday)->WH :'-'}}
- {{ isset($hour_result->saturday)?json_decode($hour_result->saturday)->WH :'-'}}
- {{ isset($hour_result->sunday)?json_decode($hour_result->sunday)->WH :'-'}}
{{-- - {{ isset($hour_result->total_work_hours)?$hour_result->total_work_hours :'-'}}
--}}
- {{ isset($hour_result->monday)?json_decode($hour_result->monday)->OT :'-'}}
- {{ isset($hour_result->tuesday)?json_decode($hour_result->tuesday)->OT :'-'}}
- {{ isset($hour_result->wednesday)?json_decode($hour_result->wednesday)->OT :'-'}}
- {{ isset($hour_result->thursday)?json_decode($hour_result->thursday)->OT :'-'}}
- {{ isset($hour_result->friday)?json_decode($hour_result->friday)->OT :'-'}}
- {{ isset($hour_result->saturday)?json_decode($hour_result->saturday)->OT :'-'}}
- {{ isset($hour_result->sunday)?json_decode($hour_result->sunday)->OT :'-'}}
{{-- - {{ isset($hour_result->total_ot_hours)?$hour_result->total_ot_hours :'-'}}
--}}
@endforeach
@else
No Data
@endif
Danda Satish3