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(); @endphpBooking ID: WS000{{ $booking->id }}
Client Name
{{ $client->name }}
Payment for
{{ $booking->service }}
Date and Time
{{ $booking->start }}