@php $companies = []; if($item->official_company){ $companies ['official'] = $item->official_company; } if($item->unofficial_company){ $companies ['unofficial'] = $item->unofficial_company; } @endphp @foreach ($companies as $type => $company)

{{ $company->name }} ({{ ucwords($type) }})


@foreach ($company->companyInvestor as $investor) @endforeach
{{__('lang.investor')}} {{__('lang.percentage')}} {{__('lang.action')}}
{{ $investor->investor->name ?? '-' }} {{ $investor->share_in_percentage }} % Print Agreement Print Project PDF Print Investor PDF
@endforeach