Zillion IT Solutions

S1, 2nd Floor, Kairali Complex
Thondayad, Calicut -17, Kerala, India

Project Combined PDF

Project: {{ $project->project_name }}
Category: {{ $project->projectCategory->category ?? '-' }}
Client: {{ $project->contact->name ?? '-' }}
Address: {{ $project->contact->address ?? '-' }}
Email: {{ $project->contact->email ?? '-' }} | Phone: {{ $project->contact->phone_number ?? '-' }}
Create Date: {{ \Carbon\Carbon::parse($project->created_at)->format('d-m-Y') }}

{{-- Questionnaire Section --}} @foreach($questions as $categoryName => $qs)

{{ $categoryName }}

@foreach($qs as $index => $q) @endforeach
# Question Answer
{{ $index + 1 }} {{ $q->question }} {{ $q->answer ?? '-' }}
@endforeach {{-- Project Updates Section --}}

Project Updates

@php $statuses = ['updation' => 'Updates', 'modification' => 'Modification', 'revision' => 'Revision']; @endphp @foreach($statuses as $statusKey => $statusTitle) @php $filteredUpdates = $updates->where('status', $statusKey); @endphp @if($filteredUpdates->count() > 0)

{{ $statusTitle }}

@foreach($filteredUpdates as $index => $update) @endforeach
# Title Description Created At
{{ $index + 1 }} {{ $update->title }} {{ $update->description }} {{ $update->created_at->timezone('Asia/Kolkata')->format('d M Y, h:i A') }}
@endif @endforeach @if($updates->count() == 0)

No updates available.

@endif