@extends('employee.employeepanel') @section('content')

List of Pending for Approval Sub-Module

@forelse($main_tasks as $mt) @php if($mt->status == 3) $cls='to-approve'; else $cls = ''; @endphp @empty @endforelse
Task Id Client Name Module Submodule Assigned Employee Start Date End Date Action
{{ $mt->task_id }} {{$mt->client_name}} {{$mt->module_name}} {{$mt->submodule_name}} @foreach($managers as $m) @if($m->user_id == $mt->assigned_by_id) {{$m->full_name}} @break @endif @endforeach {{$mt->task_start_date}} {{$mt->task_deadline}} View
@endsection