@extends('TMS.Navbar.tmsnavbar') @section('content')

MAIN TASK REPORT

@foreach($result as $index => $res) @if ( $res['Status'] == 'C') @elseif($res['Status'] === 'S') @elseif($res['Status'] === 'H') @elseif($res['Status'] === '') @endif @endforeach
Rowid SNO Status View Task No Task Name Reported To Time/Duration Hours Worked Entry Date Due Date Beneficiary Dep Beneficiary Person Decription Attachment
{{ $res['Rowid'] }} {{ $index + 1 }}CompletedStartHold VIEW

Name:

Hours:

{{ $res['Task_id'] }} {{ $res['Task_Name'] }} {{ $res['Reported_To'] }} {{ $res['Reported_To_id'] }} {{ $res['Time'] }}/{{ $res['Duration'] }} {{ $res['Worked_Hours'] }} {{ date('d-m-Y', strtotime($res['Entry_Date'])) }} {{ date('d-m-Y', strtotime($res['Due_date'])) }} {{ $res['Ben_Dep'] }} {{ $res['Ben_Staff'] }} {{ $res['Description'] }} @if($res['Attachment'] != "No Image") {{ $res['Attachment'] }} @else No Image @endif

SUB TASK REPORT

@foreach($resultsub as $index => $res) @if ( $res['Status'] == 'C') @elseif($res['Status'] === 'S') @elseif($res['Status'] === 'H') @elseif($res['Status'] === '') @endif @endforeach
Rowid SNO Status View Sub-Task No Task Name Reported To Time/Duration Hours Worked Entry Date Due Date Decription Attachment
{{ $res['Rowid'] }} {{ $index + 1 }}CompletedStartHold {{ $res['Sub_Task_id'] }} {{ $res['Task_Name'] }} {{ $res['Reported_To'] }} {{ $res['Time'] }}/{{ $res['Duration'] }} {{ $res['Worked_Hours'] }} {{ date('d-m-Y', strtotime($res['Entry_Date'])) }} {{ date('d-m-Y', strtotime($res['Due_date'])) }} {{ $res['Description'] }} @if($res['Attachment'] != "No Image")
Warning: Undefined variable $res in C:\Apache24\htdocs\Dev-life\resources\views\TMS\MainTask\TaskAllocationReport_Old.blade.php on line 427

Warning: Trying to access array offset on null in C:\Apache24\htdocs\Dev-life\resources\views\TMS\MainTask\TaskAllocationReport_Old.blade.php on line 427

Deprecated: basename(): Passing null to parameter #1 ($path) of type string is deprecated in C:\Apache24\htdocs\Dev-life\resources\views\TMS\MainTask\TaskAllocationReport_Old.blade.php on line 428
{{ $res['Attachment'] }} @else No Image @endif
@endsection