@extends('layouts.app') @section('page_title', 'Project Details') @section('page_subtitle', 'Review project configurations, client contacts, timelines, packaging, and delivery settings') @section('page_actions') Back to Projects Edit Project @endsection @section('content')
{{-- Card 1: Project Information --}}

Project Information

Project Name {{ $project->name }}
Project ID {{ $project->code }}
Project Mode {{ $project->project_mode ?: '—' }}
Status {{ str_replace('_', ' ', $project->status) }}
Start Date {{ optional($project->start_date)->format('d M Y') ?: 'Not set' }}
End Date {{ optional($project->end_date)->format('d M Y') ?: 'Not set' }}
{{-- Card 2: Client Details --}}

Client Information

Client Name {{ $project->client_name }}
Client Email {{ $project->client_email ?: '—' }}
Client Phone {{ $project->client_phone ?: '—' }}
Client GST {{ $project->client_gst ?: '—' }}
{{-- Card 3: Purchase Order --}}

Purchase Order

PO Number {{ $project->po_number ?: '—' }}
PO Date {{ optional($project->po_date)->format('d M Y') ?: '—' }}
Total Orders Quantity {{ $project->order_quantity ? number_format((int)$project->order_quantity) . ' orders' : '—' }}
Project Value {{ $project->project_value ? '₹' . number_format((float)$project->project_value, 2) : '—' }}
Amount Per Order ₹{{ number_format((float)$project->amount, 2) }}
{{-- Card 4: Product Information & Plant Items --}}

Product & Plant Requirements

@if(is_array($project->plant_items) && count($project->plant_items) > 0)
Plant Items & Quantities
@foreach($project->plant_items as $pItem) @if(!empty($pItem['name']))
{{ $pItem['name'] }} {{ !empty($pItem['quantity']) ? $pItem['quantity'] . ' units' : '—' }}
@endif @endforeach
@else
Product Names {{ $project->product_name ?: '—' }}
@endif
Box Pack Size {{ $project->box_pack_size ? $project->box_pack_size . ' units per box' : '—' }}
Pot Type {{ $project->pot_type ?: '—' }}
Pot Size {{ $project->pot_size ?: '—' }}
{{-- Card 5: Packaging --}}

Packaging Details

Box Type {{ $project->box_type ?: '—' }}
Sub Box Type {{ $project->sub_box_type ?: '—' }}
Branding @if(is_array($project->branding) && count($project->branding) > 0)
@foreach($project->branding as $b) {{ $b }} @endforeach
@else @endif
{{-- Card 6: Delivery Information --}}

Delivery Information

Delivery Location {{ $project->delivery_location ?: '—' }}
Delivery Mode {{ $project->delivery_mode ?: '—' }}
Occasion {{ $project->occasion ?: '—' }}
{{-- Card 7: Description & Notes --}}

Description & Notes

Description

{{ $project->description ?: 'No description provided.' }}

Internal Notes

{{ $project->notes ?: 'No notes available.' }}

@endsection