@extends('layouts.front.login-site') @section('head') @endsection @php // Define a mapping for converting service names to profession titles $professionMapping = [ 'AC Repairs' => 'AC Repairer', 'Electricians' => 'Electrician', 'Painters' => 'Painter', 'Carpenters' => 'Carpenter', 'Plumbers' => 'Plumber', 'Welders' => 'Welder', 'Cleaners' => 'Cleaner', 'Aluminium Repairs' => 'Aluminium Repairer', 'Real Estate Developers' => 'Real Estate Developer', 'Real Estate Investors' => 'Real Estate Investor', 'Land Use Planners' => 'Land Use Planner', 'Real Estate Economists' => 'Real Estate Economist', 'Home Inspectors' => 'Home Inspector', 'Environmental Consultants' => 'Environmental Consultant', 'Real Estate Attorneys' => 'Real Estate Attorney', 'Property Tax Consultants' => 'Property Tax Consultant', 'Real Estate Agents' => 'Real Estate Agent', 'Real Estate Brokers' => 'Real Estate Broker', 'Property Managers' => 'Property Manager', 'Real Estate Appraisers' => 'Real Estate Appraiser', 'Mortgage Brokers' => 'Mortgage Broker', 'Residential Estate Agents' => 'Residential Estate Agent', 'Commercial Estate Agents' => 'Commercial Estate Agent', 'Real Estate Investment Analyser' => 'Real Estate Investment Analyser', ]; $profession = $professionMapping[$service] ?? $service; // Get mapped profession or original service @endphp @section('content')
{{ $selectedProvider->about_org }}
{!! $item->review !!}
Available: {{ $item->first()->providers_count }}