Logo
@foreach($this->allStepsStatus() as $step)
{{ $step['index'] + 1 }}

{{ $step['title'] }}

{{ ucfirst($step['status']) }}
@endforeach
{{--
{{ dd(auth()->user()) }}
--}} @if (Auth::check())

👤 Logged in as: {{ Auth::user()->full_name }}

🏢 Company ID: {{ Auth::user()->company?->id }}

@php $company = Auth::user()->company; $companyDetail = $company?->detail; $modifications = $companyDetail?->modifications ?? collect(); // POC (modification) if exists $pocModification = $company->POCDetail()->latest()->first(); @endphp @if ($companyDetail)

✅ Company Detail exists.

@if ($modifications->isNotEmpty())

📝 Modifications found:

    @foreach ($modifications as $modification)
  • {{ $modification->created_at }} - {{ $modification->note ?? 'No details' }}
  • @endforeach
@else

📭 No modifications found for this company detail.

@endif @elseif ($pocModification)

📝 Pending Company Detail exists (modification only).

{{ json_encode($pocModification->modifications, JSON_PRETTY_PRINT) }}
@else

❌ No company detail or pending modification found.

@endif @else

🔒 No user is logged in.

@endif
{{ $this->progress() }}% Completed
Setup Progress: {{ $this->completedStepsCount() }}/{{ $this->totalStepsCount() }}
{{ $this->progressPercentage() }}%

🧭 Current Step Index: {{ $currentStep }}

Current Step: {{ $this->getCurrentStep()->title() }}

@include($stepView)
@if ($currentStep > 0) @endif @if ($currentStep < count($this->steps()) - 1) @else @endif