@extends('layouts.simple.master') @section('title', trans(app()->getLocale() . '.investor_details')) @section('css') @endsection @section('main_content')
{{ $investor->email ?? 'N/A' }}
@if($investor->city) @php $locale = app()->getLocale(); $cityName = is_array($investor->city->name) ? ($investor->city->name[$locale] ?? $investor->city->name['en'] ?? $investor->city->name['ar'] ?? 'N/A') : ($investor->city->name ?? 'N/A'); @endphp{{ $cityName }}
@endif{{ $categoryName }}
@endif @if(isset($offersByCompany[$company->id])) @php $offerCount = count($offersByCompany[$company->id]); $offerText = $offerCount == 1 ? trans(app()->getLocale() . '.offer') : trans(app()->getLocale() . '.offers'); @endphp{{ $offerCount }} {{ $offerText }}
@endif{{ trans(app()->getLocale() . '.no_companies_found') }}