{{ $project->project_name }} {{ $project->project_number }}
Customer : {{ $project->customer_name }}
Phone : {{ $project->customer_phone }}
Address : {{ $project->address }}
Project Type : {{ $project->project_type ?? '-' }}
Expected Completion : {{ $project->expected_completion_date ? \Carbon\Carbon::parse($project->expected_completion_date)->format('d M Y') : '-' }}
Status : {{ ucfirst($project->status) }}
Employee : {{ $project->employee_name ?? '-' }}
Contact : {{ $project->employee_contact ?? '-' }}
{{-- PDF Buttons --}}Subtotal
₹ {{ number_format($project->subtotal, 2) }}
GST (18%)
₹ {{ number_format($project->tax, 2) }}
Grand Total
₹ {{ number_format($project->grand_total, 2) }}
Total Areas
{{ $project->areas->count() }}
Total Items
{{ $project->areas->sum(fn($area) => $area->items->count()) }}
Created At
{{ $project->created_at->format('d M Y') }}
Area: {{ $area->name }} @if($area->room) (Room: {{ $area->room->name }}) @endif
| # | Image | Product | SKU | Qty | Size | Room | Item | Catalog | Serial | Description |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{-- IMAGE --}}
@if($item->is_custom == 0 && $item->variant?->primaryImage?->image_path)
|
{{-- PRODUCT --}}
{{ $item->product->name ?? 'N/A' }} | {{-- SKU --}}{{ $item->variant->sku ?? '-' }} | {{-- QTY --}}{{ $item->quantity ?? 1 }} | {{-- SIZE --}}@if($item->measurement) {{ $item->measurement->width ?? '-' }} x {{ $item->measurement->height ?? '-' }} {{ $item->measurement->unit ?? '' }} @else - @endif | {{-- ROOM --}}{{ $area->area_name ?? $area->name ?? '-' }} | {{-- ITEM CATEGORY --}}{{ ucfirst($item->category ?? '-') }} | {{-- CATALOG --}}{{ $item->curtain->catalogue ?? $item->wallpaper->catalogue ?? $item->sofa->fabric_catalogue ?? '-' }} | {{-- SERIAL --}}{{ $item->curtain->serial_no ?? $item->wallpaper->serial_no ?? $item->sofa->serial_no ?? '-' }} | {{-- DESCRIPTION --}}{{ $item->notes ?? '-' }} |
No items found in this area.
@endif