| Client Name | {{ $lead->client_name }} |
| Email | {{ $lead->email ?? 'N/A' }} |
| Mobile | {{ $lead->mobile ?? 'N/A' }} |
| Address | {{ $lead->address ?? 'N/A' }} |
| Status | {{ $lead->status?->name ?? 'N/A' }} |
| Category | {{ $lead->category?->name ?? 'N/A' }} |
| Assigned To | {{ $lead->assignedUsers->isNotEmpty() ? $lead->assignedUsers->pluck('name')->join(', ') : ($lead->assignedTo?->name ?? 'Unassigned') }} |
| Estimated Value | ₹{{ number_format((float) $lead->estimated_value, 2) }} |
| Effective Value | ₹{{ number_format((float) $effectiveValue, 2) }} |
| Accepted Quotation | {{ $acceptedQuotation ? ('Version ' . $acceptedQuotation->version . ' (₹' . number_format((float) $acceptedQuotation->amount, 2) . ')') : 'No accepted quotation' }} |
| Total Quotations | {{ $lead->quotations->count() }} |
| Total Comments | {{ $lead->comments->count() }} |
| Total Documents | {{ $lead->documents->count() }} |
| Created At | {{ optional($lead->created_at)->format('Y-m-d H:i:s') }} |
| Updated At | {{ optional($lead->updated_at)->format('Y-m-d H:i:s') }} |