@php $colorClasses = [ 1 => ['border' => 'border-info', 'header' => 'bg-info-subtle', 'text' => 'text-info', 'table' => 'table-info', 'btn' => 'btn-outline-info'], 2 => ['border' => 'border-warning', 'header' => 'bg-warning-subtle', 'text' => 'text-warning', 'table' => 'table-warning', 'btn' => 'btn-outline-warning'], 3 => ['border' => 'border-success', 'header' => 'bg-success-subtle', 'text' => 'text-success', 'table' => 'table-success', 'btn' => 'btn-outline-success'], 4 => ['border' => 'border-secondary', 'header' => 'bg-secondary-subtle', 'text' => 'text-secondary', 'table' => 'table-secondary', 'btn' => 'btn-outline-secondary'], ]; $colors = $colorClasses[$level] ?? $colorClasses[4]; $description = "Details of company ($parentName) which is promoters/partners/shareholders in the applicant company"; if ($level > 1) { $description = "Details of company ($parentName) which is promoters/partners/shareholders in the parent company"; } @endphp
{{ $description }}
@forelse($children as $childIndex => $child) @if(($child['c_type'] ?? '') === 'Company') @include('livewire.vno.preview.partials.company-promoters', [ 'children' => $child['children'] ?? [], 'parentPath' => $parentPath . '.children.' . $childIndex, 'parentName' => $child['c_name'] ?: 'Sub-Company', 'level' => $level + 1 ]) @endif @empty @endforelse
Name Type Country Equity % Networth PAN/CIN
{{ $promoter['c_name'] ?? '' }} {{ $promoter['c_type'] ?? '' }} {{ $promoter['c_country'] ?? '' }} {{ $promoter['n_equity_percentage'] ?? '' }} {{ $promoter['n_networth'] ?? '' }} {{ $promoter['c_pan_cin'] ?? '' }}
No company promoters added