@php $country_global = \App\Models\Country::where('prefix', session('country'))->first(); $governorates = \App\Models\Governorate::getByCountry($country_global->id)->get(); @endphp @extends('front.front_layouts.main') @section('content') @include('front.front_component.category_slider')
@if(isset($supplier_category)) @if($supplier_category)

{{ $supplier_category->name }}

@else

الموردين

@endif @else @if(request('type')==="0")

نتائج البحث

@else

موردين مميزين

@endif @endif
@if(!Route::currentRouteNamed( 'front.headerSearch'))
{{--
--}} {{----}} {{--
--}} {{----}} {{--
--}} {{--
--}}
@endif @if(isset($supplier_category)) @php $adv = \App\Models\Advertisement::getByCountry($country_global->id)->isActive()->where('type', 'category_page')->getByCategory($supplier_category->id)->first() @endphp @if(!is_null($adv))
@endif @else @php $adv = \App\Models\Advertisement::getByCountry($country_global->id)->isActive()->where('type', 'special_supplier_page')->first() @endphp @if(!is_null($adv))
@endif @endif
@forelse($suppliers as $supplier)
@include('front.front_component.supplier')
@empty

لا يوجد نتائج

@endforelse
{{ $suppliers->links('vendor.pagination.bulma') }}
@endsection