@include('header')

Booking Invoice

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

Invoice 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

Price

£ {{ $service->price }}
@if($booking->payment == 0)

@else
Invoice Paid
@endif @endforeach