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

TASK ACTION

@foreach($result as $index => $res) @if ( $res['Status'] == 'S' ) @elseif ( $res['Status'] == 'H' ) @elseif ( $res['Status'] == '' ) @endif @endforeach
Rowid SNO Color/Flag Action Status Split | Avail Time/Duration Hours Worked Task No Task Name / No. Reported By Entry Date Due Date Beneficiary Dep Beneficiary Person Decription Attachment
{{ $index + 1 }}
@csrf
@if (!empty($res['Color_Grp']))
@else @endif
@if ($res['Flag_Grp'])
@else @endif
@csrf
StartHold | {{ $res['RemainingDuration'] }} {{ $res['Time'] }}/{{ $res['Duration'] }} {{ $res['Worked_Hours'] }} {{ $res['Task_id'] }} {{ $res['Task_Name'] }} - {{ $res['Task_id'] }} {{ $res['Reported_By'] }} {{ 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