@extends('layouts.master') @section('style') @endsection @section('content')
 
 
 
 
@php // Get selected statuses from request or set defaults $selectedStatuses = request('STATUS', ['Open', 'InProgress']); @endphp

Tasks

@foreach($status_arr as $key => $status) @php $bgColor =""; if($key == 'Open'){ $bgColor ="#f8285a"; }elseif($key == 'Closed'){ $bgColor ="#17c653"; }elseif($key == 'InProgress'){ $bgColor ="#f6c000"; }elseif($key == 'Review'){ $bgColor ="#b6cf5cff"; } @endphp {{$status}} (0) @endforeach
{!! $dataTable->table() !!}
@endsection() @section('script') {!! $dataTable->scripts() !!} @endsection()