{{-- --}} @foreach ($influencers as $influencer) {{-- --}} @endforeach
Profile Picture Name Email Mobile No.Rating Services Charges per Post / ReelStatus Action
{{ $influencer->first_name . ' ' . $influencer->last_name }} {{ $influencer->email }} @if ($influencer->countryCode && isset($influencer->mobile_no[0]) && $influencer->mobile_no[0] != "+") +{{ $influencer->countryCode }} @endif {{ $influencer->mobile_no }} {{ $influencer->reviews_avg_rating }} @php $services = []; if ($influencer->facebook_detail) { $services[] = [ 'name' => 'Facebook', 'charges' => $influencer->facebook_detail->charges_per_post_or_reel, ]; } if ($influencer->instagram_detail) { $services[] = [ 'name' => 'Instagram', 'charges' => $influencer->instagram_detail->charges_per_post_or_reel, ]; } if ($influencer->youtube_detail) { $services[] = [ 'name' => 'Youtube', 'charges' => $influencer->youtube_detail->charges_per_post_or_reel, ]; } @endphp {{ collect($services)->pluck('name')->join(', ', ' and ') }} @foreach ($services as $service) {{ $service['name'] }}: {{ $service['charges'] }} @if (!$loop->last) , @endif @endforeach @if ($influencer->is_approved) Approve @else Pending @endif @if (!$influencer->is_approved) @endif
{{ $influencers->links() }}