@extends("website.service-providers.layouts.layout") @section('title', "Services") @section("body") Home Current Project @include("website.service-providers.includes.sidebar") @include("website.layouts.modal") Bussiness Settings Receive work requests today Availability @if(isset($data['AvailTimes']) && !empty($data['AvailTimes'])) {{ implode(', ', array_map(function ($time) { return date('H:i', strtotime($time)); }, $data['AvailTimes'])) }} @else No available times @endif Skills @if( isset($data['getProviderSkills']) && is_array($data['getProviderSkills']) && count($data['getProviderSkills']) > 0 ) {{-- Extract category names and make them unique --}} @php // Collect category names into an array $categoryNames = collect($data['getProviderSkills']['data'])->pluck('category_name')->unique(); @endphp @if($categoryNames->isNotEmpty()) {{ $categoryNames->implode(', ') }} @else No skills available @endif @else No skills available @endif Work Area Work Area Set @endsection
Receive work requests today
Availability
@if(isset($data['AvailTimes']) && !empty($data['AvailTimes'])) {{ implode(', ', array_map(function ($time) { return date('H:i', strtotime($time)); }, $data['AvailTimes'])) }} @else No available times @endif
Skills
@if( isset($data['getProviderSkills']) && is_array($data['getProviderSkills']) && count($data['getProviderSkills']) > 0 ) {{-- Extract category names and make them unique --}} @php // Collect category names into an array $categoryNames = collect($data['getProviderSkills']['data'])->pluck('category_name')->unique(); @endphp @if($categoryNames->isNotEmpty()) {{ $categoryNames->implode(', ') }} @else No skills available @endif @else No skills available @endif
Work Area
Work Area Set