@php $link = route('glover-website.service', [ 'id' => $service->id, 'slug' => !empty($service->name) ? \Str::slug($service->name) : \Str::random(10), ]); @endphp
service logo {{-- discount tag --}} @if ($service->discount_price > 0)

~ {{-- calculate the discount percentage between price and discount_price --}} {{ currencyFormat($service->price - $service->discount_price) }} {{ __('Off') }}

@endif

{{ $service->name }}

{{-- strip description of html tags --}} {{ strip_tags($service->vendor->name ?? '') }}

{{-- price --}}

@if ($service->discount_price > 0) {{ currencyFormat($service->price) }} {{ currencyFormat($service->discount_price ?? 0) }} @else {{ currencyFormat($service->price ?? 0) }} @endif