{{ $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()) }}
Total Amount Entered
{{ $project->total_amount }}
Area: {{ $area->name }} @if($area->room) (Room: {{ $area->room->name }}) @endif
| # | Image | Product | Type | Unit | Qty | Size | Room | Item | Catalog | Serial | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{-- IMAGE --}}
@if($item->is_custom == 0 && $item->variant?->primaryImage?->image_path)
|
{{-- PRODUCT --}}
{{ $item->product->name ?? 'Custom Item' }} | {{-- TYPE (is_custom badge) --}}@if($item->is_custom == 1) Custom @else Standard @endif | {{-- UNIT --}}{{ $unit }} | {{-- QTY --}}{{ $qty > 0 ? number_format($qty,2) : '-' }} | {{-- SIZE --}}@if($item->measurement) {{ $item->measurement->width ?? '-' }} x {{ $item->measurement->height ?? '-' }} {{ $item->measurement->unit ?? '' }} @else - @endif | {{-- ROOM --}}{{ $area->area_name ?? $area->name ?? '-' }} | {{-- CATEGORY --}}{{ ucfirst($item->category ?? '-') }} | {{-- CATALOG --}}{{ $item->curtain->catalogue ?? $item->wallpaper->catalogue ?? '-' }} | {{-- SERIAL --}}{{ $item->curtain->serial_no ?? $item->wallpaper->serial_no ?? '-' }} | {{-- DESCRIPTION --}}{{ $item->notes ?? '-' }} |
No items found in this area.
@endif