@extends('admin.layout.main') @section('admin')

Start Project

Create a new project from service request

Request ID: {{ $serviceRequest->id }}
Back to Request

Client Information

Full Name

{{ $contactInfo['name'] ?? 'N/A' }}

Email

{{ $contactInfo['email'] ?? 'N/A' }}

Phone

{{ $contactInfo['phone'] ?? 'N/A' }}

Company

{{ $contactInfo['company'] ?? 'N/A' }}

Requested Services ({{ count($services) }})

Total: {{ number_format($serviceRequest->total_price, 0) }} SR
@forelse($services as $service)

{{ $service['name'] }}

ID: {{ $service['id'] }}

@php $statusConfig = [ 'Not Started' => [ 'color' => 'bg-yellow-100 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-300', 'icon' => 'fa-clock' ], 'In Progress' => [ 'color' => 'bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300', 'icon' => 'fa-spinner' ], 'Completed' => [ 'color' => 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300', 'icon' => 'fa-check-circle' ] ]; $config = $statusConfig[$service['status']] ?? [ 'color' => 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300', 'icon' => 'fa-question-circle' ]; @endphp {{ $service['status'] }}
@empty

No services requested

@endforelse

Project Requirements

Add New Document

No requirements added

Add your first requirement using the form above

Project Summary

Total Services {{ count($services) }}
Not Started {{ count(array_filter($services, fn($s) => $s['status'] === 'Not Started')) }}
In Progress {{ count(array_filter($services, fn($s) => $s['status'] === 'In Progress')) }}
Completed {{ count(array_filter($services, fn($s) => $s['status'] === 'Completed')) }}
Total Amount {{ number_format($serviceRequest->total_price, 0) }} SR

Business Information

Business Type

{{ $serviceRequest->businessType->name ?? 'N/A' }}

Business Model

{{ $serviceRequest->businessModel->name ?? 'N/A' }}

Branch

{{ $serviceRequest->branch->name ?? 'N/A' }}

Package Type

{{ $serviceRequest->package_type }}

@csrf
@endsection