@extends('layouts.app') @section('content')

Sales Summary

@csrf
@csrf
@foreach($rows as $r) @endforeach
Booking# Customer CNIC Unit# Category Total Price Booking Date Status
{{ $r->booking_number }} {{ $r->customer?->name }} {{ $r->customer?->cnic }} {{ $r->unit?->unit_number }} {{ $r->unit?->unitCategory?->name }} {{ number_format($r->total_price, 2) }} {{ $r->booking_date?->format('Y-m-d') }} {{ $r->status }}
Totals {{ number_format($totalAmount, 2) }}
@endsection