@php $website_settings = website_settings(); if (empty($website_settings)) { $website_settings = new stdClass(); $website_settings->site_seo = ''; $website_settings->site_keywords = ''; $website_settings->site_description = ''; $website_settings->favicon = ''; } $integrationData = integrationData(); @endphp {{ $website_settings->site_title }} @if ($website_settings->favicon) @endif
@foreach ($categoriesRows as $c) {{-- {{dd($categoriesRows)}} --}} @php $iconUrl = $c->category_icon == -1 ? $c->custom_icon_link : 'https://everve.net/assets-v2/img/' . SocialIcons::where('icon_id', $c->category_icon)->pluck('icon_code')->first() . '.svg'; @endphp @foreach ($services as $service) @php $current_curr = current_currency(); $price = $service['service_price']; $average_time = ''; if ($service['average_time'] != '') { $average_time = explode( ' ', $service['average_time'], ); $time = ''; if ($average_time[0] != '00') { $time = $average_time[0] . ' ' . $average_time[1]; } if ($average_time[3] != '00') { $time .= ' ' . $average_time[2] . ' ' . $average_time[3]; } $average_time = $time; } else { $average_time = 'Not available'; } $description = ''; @endphp {{-- {{dd($service);}} --}} @if ($c->category_id == $service['category_id']) @endif @endforeach @endforeach
ID Service Name Price Min Max Average Time Description
{{ $c->category_name }}
{{ $service['service_id'] }} {{ $service['service_name'] }} {{ $price }} {{ $service['service_min'] }} {{ $service['service_max'] }} {{ $average_time }}