@extends('layouts.back-end.app') @section('title', translate('most_demanded')) @section('content')

{{ translate('most_demanded') }}

@csrf
( {{ translate('ratio') }} {{ translate('4') }}:{{ translate('1') }} )
banner image
{{ translate('most_demanded_table') }} {{ $mostDemandedProducts->total() }}
@if(count($mostDemandedProducts)>0)
@foreach($mostDemandedProducts as $key=>$mostDemanded) @endforeach
{{ translate('SL') }} {{ translate('banner') }} {{ translate('product') }} {{ translate('published') }} {{ translate('action') }}
{{ $mostDemandedProducts->firstItem()+ $key}} @if(isset($mostDemanded->product->name)) {{ $mostDemanded->product->name }} @else {{ translate('no_product_found') }} @endif @if(isset($mostDemanded->product->status ) && $mostDemanded->product->status == 1)
@csrf
@else @endif
{{ $mostDemandedProducts->links() }}
@endif @if(count($mostDemandedProducts)==0) @include('layouts.back-end._empty-state',['text'=>'no_data_found'],['image'=>'default']) @endif
@endsection @push('script') @endpush