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

TASK COMPLETION REPORT

@csrf
@foreach($result as $index => $res) @if ( $res['Status'] == 'C') @endif @endforeach
Rowid SNO Status Task No Reported By Time/Duration Entry Date Due Date Beneficiary Dep Beneficiary Person Description Attachment
{{ $res['Rowid'] }} {{ $index + 1 }}Completed{{ $res['Task_id'] }} {{ $res['Reported_By'] }} {{ $res['Time'] }}/{{ $res['Duration'] }} {{ 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
@endsection