Project: {{ $timesheet->project->display_project_title }} Area: {{ $timesheet->mainActivity->area }} Level: {{ $timesheet->mainActivity->level }} | ||||||||||||||||||||||||||
Sub Code | Date | Activity Code | Activity | Men | Allocated/hr | Spent/hr | Total Spent/hr | Remaining/hr | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $timesheet->subActivity->sub_code }} | {{ $timesheet->timesheet_date }} | {{ $timesheet->activityOfTimesheet->item_code }} | {{ $timesheet->activity }} | {{ $timesheet->peoples }} | {{ $timesheet->allocated_hour }} | {{ $timesheet->spent_hour }} | {{ $timesheet->total_spent_hour }} | @php $tsh = strtok($timesheet->total_spent_hour, ':'); $ah = strtok($timesheet->allocated_hour, ':'); @endphp @if($tsh > $ah){ {{ $timesheet->remaining_hour }} @else {{ $timesheet->remaining_hour }} @endif | ||||||||||||||||||
|