@extends('layout.mainlayout') @section('content') @php $whatsappNumber = config('services.WHATSAPP_NUMBER') ?? $profile->WHATSAPP_NUMBER ?? null; $whatsappLink = $whatsappNumber ? "https://api.whatsapp.com/send?phone={$whatsappNumber}" : '#'; $locale = app('translator')->getLocale() ?? 'en'; $currency_code = ''; 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 = ''; }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 = ''; }elseif($global_symbol['currency']){ $currency_code = $global_symbol['currency_ar']; } } } @endphp {{trans('web.home_visit')}} {!! trans('web.home_visit_main_title') !!} {{trans('web.home_visit_main_desc')}} {{-- --}} @include('partials.tabby-whatsapp-wrapper') {{-- {{ trans('web.whats_up_reservation') }} {{ trans('web.whats_up_us') }} --}} {{-- getLocale()) && app('translator')->getLocale() == 'ar') src="img/homevisit3.png" @else src="img/homevisit2.png" @endif alt="Provider Name"> --}} {{trans('web.tests')}} {{trans('web.choose_the_tests')}} {{trans('web.itests')}} {{trans('web.packages')}} @if(!empty($categories) && count($categories) > 0) {{trans("web.all")}} @foreach($categories as $category) @if(app('translator')->getLocale() == "ar"){{$category->NAME_AR}}@else{{$category->NAME_EN}}@endif @endforeach @endif {{-- @if(app('translator')->getLocale() == "ar"){{$packages->NAME_AR}}@else{{$packages->NAME_EN}}@endif --}} Showing {{($tests->currentpage()-1)*$tests->perpage()+1}} to {{$tests->currentpage()*$tests->perpage()}} of {{$tests->total()}} entries @foreach($tests as $test) IS_PACKAGE)) href="/{{$packages->ID}}/packages/{{$test->ID}}?type=2{{!empty(app('translator')->getLocale()) ? '&category_id='.$category_id.'&lang='.app('translator')->getLocale() : '' }}" @else href="{{$packages->ID}}/home-visit/tests/{{$test->ID}}{{!empty(app('translator')->getLocale()) ? '?category_id='.$category_id.'&lang='.app('translator')->getLocale() : '' }}" @endif class="anchor-single-box"> IMAGE_URL_AR}} @else {{$test->IMAGE_URL}} @endif" alt="Test"> {{trans('web.home_visit')}} {{ $test->IS_PACKAGE ? $test->items->count() . ' '. trans('web.package_tests') : ''}} @if(app('translator')->getLocale() == "ar") @if(empty($test->IS_PACKAGE)) {{trans('web.test_count')}} @endif {{$test->NAME_AR}}@else{{$test->NAME_EN}} @if(empty($test->IS_PACKAGE)) {{trans('web.test_count')}} @endif @endif {{-- @if($test->TEST_CATEGORY == 10) @if(app('translator')->getLocale() == "ar"){!! mb_substr($test->SMART_DESC_AR,0,55,"UTF-8")."..." !!}@else{!! mb_substr($test->SMART_DESC_EN,0,55,"UTF-8")."..." !!}@endif @else @if(app('translator')->getLocale() == "ar"){!! mb_substr($test->DESC_AR,0,55,"UTF-8")."..." !!}@else{!! mb_substr($test->DESC_EN,0,55,"UTF-8")."..." !!}@endif @endif --}} @endforeach @include('still-have-question') @endsection @section('frontend_scripts') @endsection
{{trans('web.itests')}}
{{trans('web.packages')}}
{{trans("web.all")}}
@if(app('translator')->getLocale() == "ar"){{$category->NAME_AR}}@else{{$category->NAME_EN}}@endif
@if($test->TEST_CATEGORY == 10) @if(app('translator')->getLocale() == "ar"){!! mb_substr($test->SMART_DESC_AR,0,55,"UTF-8")."..." !!}@else{!! mb_substr($test->SMART_DESC_EN,0,55,"UTF-8")."..." !!}@endif @else @if(app('translator')->getLocale() == "ar"){!! mb_substr($test->DESC_AR,0,55,"UTF-8")."..." !!}@else{!! mb_substr($test->DESC_EN,0,55,"UTF-8")."..." !!}@endif @endif