@php $colorClasses = [ 1 => ['border' => 'border-info', 'header' => 'bg-info-subtle', 'text' => 'text-info', 'table' => 'table-info'], 2 => ['border' => 'border-warning', 'header' => 'bg-warning-subtle', 'text' => 'text-warning', 'table' => 'table-warning'], 3 => ['border' => 'border-success', 'header' => 'bg-success-subtle', 'text' => 'text-success', 'table' => 'table-success'], 4 => ['border' => 'border-secondary', 'header' => 'bg-secondary-subtle', 'text' => 'text-secondary', 'table' => 'table-secondary'], ]; $colors = $colorClasses[$level] ?? $colorClasses[4]; $description = $level === 1 ? "Details of company ($parentName) which is promoters/shareholders in applicant company" : "Details of company ($parentName) which is promoters/shareholders in parent company"; @endphp
{{ $description }}
@forelse($children as $childIndex => $child) @if(($child['c_type'] ?? '') === 'Company') @include('livewire.ecs.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
{{ $child['c_name'] ?? '' }} {{ $child['c_type'] ?? '' }} {{ $child['c_country'] ?? '' }} {{ $child['n_equity_percentage'] ?? '' }} {{ $child['n_networth'] ?? '' }} {{ $child['c_pan_cin'] ?? '' }}
No company promoters added