@extends('layout.mainlayout') @section('content') @php $locale = app('translator')->getLocale() ?? 'en'; $currency_code = 'SAR'; if (isset($global_symbol['from_website']) && $global_symbol['from_website']){ if ($locale == 'en'){ if(isset($global_symbol['is_html']) && $global_symbol['is_html']){ $currency_code = 'SAR'; }elseif($global_symbol['currency']){ $currency_code = $global_symbol['currency_ar']; } }else{ if(isset($global_symbol['is_html_ar']) && $global_symbol['is_html_ar']){ $currency_code = 'SAR'; }elseif($global_symbol['currency']){ $currency_code = $global_symbol['currency_ar']; } } } @endphp
Lab Image

@if(app('translator')->getLocale() == "ar"){{$hospital->WEBSITE_NAME_AR}}@else{{$hospital->WEBSITE_NAME_EN}}@endif

@if(app('translator')->getLocale() == "ar"){{$hospital->CITYSTATE->ARABIC_NAME}}@else{{$hospital->CITYSTATE->ENG_NAME}}@endif @if($type == 1)
145KM@endif

@if(!empty($categories) && count($categories) > 0) @if($category_id != -2 )
@endif @endif @if(!empty($SubCategories) && count($SubCategories) > 0 && !empty($category_id) && $category_id == -2 )
@endif
@foreach($hospital->allTests as $package)
getLocale() == "ar") style="background: url(@if(app('translator')->getLocale() == "ar") '{{$package->IMAGE_URL_AR}}' @else '{{$package->IMAGE_URL}}' @endif ) no-repeat center center;" @else style="background: url('{{$package->IMAGE_URL}}') no-repeat center center;" @endif>
NAME_AR) >= 30 ) font-size: 14px; @elseif(app('translator')->getLocale() == "en" && mb_strlen($package->NAME_EN) >= 26 ) @endif">@if(app('translator')->getLocale() == "ar"){{$package->NAME_AR}}@else{{$package->NAME_EN}}@endif

@if($package->TEST_CATEGORY == 10) @if(app('translator')->getLocale() == "ar"){{mb_substr($package->SMART_DESC_AR,0,55,"UTF-8")."..."}}@else{{mb_substr($package->SMART_DESC_EN,0,55,"UTF-8")."..."}}@endif @else @if(app('translator')->getLocale() == "ar"){{mb_substr($package->DESC_AR,0,55,"UTF-8")."..."}}@else{{mb_substr($package->DESC_EN,0,55,"UTF-8")."..."}}@endif @endif

{{$package->pivot->PRICE}} {!! $currency_code !!}

@if(!empty($package->IS_PACKAGE)) {{trans("web.book_now")}} @else {{trans("web.book_now")}} @endif
@endforeach
@endsection