@include('header')

Booking Invoice

@foreach($bookings as $booking) @php $client = DB::table('clients')->where('id',$booking->client_id)->first(); $task = DB::table('tasks')->where('booking_id',$booking->id)->first(); @endphp

Booking ID: WS000{{ $booking->id }}

Client Name

{{ $client->name }}

Payment for

{{ $booking->service }}

Date and Time

{{ $booking->start }}

@php $service = DB::table('services')->where('service',$booking->service)->first(); @endphp @if($task->status == 0)

@elseif($task->status == 1)

@else

@endif @endforeach

Copyright © Tritek Consulting Ltd 2022