@extends('dashboard.layout') @section('content')
Basic project information and status
{{ $project->name ?? 'Unnamed Project' }}
{{ $project->created_at->format('F d, Y') }}
{{ $project->updated_at->format('F d, Y') }}
{{ $project->id }}
{{ $project->request_id }}
{{ $project->user_id }}
Requested services and their status
ID: {{ $service['id'] ?? 'N/A' }}
No documents found.
@endif @php $serviceStatus = $service['status'] ?? 'Not Started'; @endphpNo services found for this project
Project requirements and documents
No requirements found for this project
Contact details
{{ $contactInfo['name'] ?? ($project->user->name ?? 'N/A') }}
{{ $contactInfo['email'] ?? ($project->user->email ?? 'N/A') }}
{{ $contactInfo['phone'] ?? 'N/A' }}
{{ $contactInfo['company'] ?? 'N/A' }}
Payment details
#INV-{{ str_pad($item->id, 5, '0', STR_PAD_LEFT) }}
{{ number_format($item->amount, 2) }} SR
@php $statusColors = [ 'paid' => 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-400', 'pending' => 'bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-400', 'overdue' => 'bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400', 'draft' => 'bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-400', ]; $statusColor = $statusColors[$item->status] ?? $statusColors['draft']; @endphp {{ $item->status }}
@if ($item->status == 'unpaid') Pay now @endifYou don't have any invoices yet.