@foreach($timeSheet['timeSections'] as $timeSection)
@if($timeSection['type']=='standard')
{{ucfirst($timeSection['type'])}}:
{{date('H:i:s',strtotime($timeSection['start']))}} - {{date('H:i:s',strtotime($timeSection['end']))}}
{{$timeSection['hours']}} hours, {{$timeSection['minutes']}} minutes
@endif
@endforeach
@foreach($timeSheet['timeSections'] as $timeSection)
@if($timeSection['type']=='overtime')
{{ucfirst($timeSection['type'])}}:
{{date('H:i:s',strtotime($timeSection['start']))}} - {{date('H:i:s',strtotime($timeSection['end']))}}
{{$timeSection['hours']}} hours, {{$timeSection['minutes']}} minutes
@endif
@endforeach
@foreach($timeSheet['timeSections'] as $timeSection)
@if($timeSection['type']=='travel')
{{ucfirst($timeSection['type'])}}:
{{date('H:i:s',strtotime($timeSection['start']))}} - {{date('H:i:s',strtotime($timeSection['end']))}}
{{$timeSection['hours']}} hours, {{$timeSection['minutes']}} minutes
@endif
@endforeach