@include('header')
@if(session()->has('success')) @endif @php $q = 1; @endphp

Manager's Queue


@foreach($tasks as $task) @php $booking = DB::table('bookings')->where('id',$task->booking_id)->first(); $client = DB::table('clients')->where('id',$booking->client_id)->first(); @endphp @php $service = DB::table('services')->where('service',$booking->service)->first(); @endphp @if($task != null) @php $staff = DB::table('users')->where('id',$task->staff_id)->first(); @endphp @else @endif @if($task->status == 2) @else @endif @endforeach
S/N Client Service Date Assigned to Status
{{ $q++ }} {{ $client->name }} {{ $booking->service }} {{ $booking->start }}{{ $staff->fullname }} @if($task->status == 0) {{ 'Pending' }} @elseif($task->status == 1) {{ 'Ongoing' }} @else {{ 'Completed' }} @endif Not Assigned to any Staff Yet" Pending

Copyright © Tritek Consulting Ltd 2022