@php use App\Models\Product; @endphp @extends(Auth::user()->extender()) @section('title'){{__('Report')}} {{ __('Top Products') }} @endsection @section('content') @include('includes.page_header',['title'=>__('Report')." ". __('Top Products'),'url'=>route(Auth::user()->user_dashboard()),'icon' => $icon??'','permission'=>'PriorityRoute-view'])
@include('admin.others.infyomincludes.filter_index_js')
{{-- --}} @forelse ($topProducts as $key=>$trx_product) @php $product = Product::where('id',$key)->get()->first(); @endphp @if ($product) {{-- --}} @endif @empty {{-- --}} @endforelse
# ID Name Operator Country Api TypePriceCount Amount
{{$key}} {{$product->vivape_id??''}} {{$product->name??''}} {{$product->operator->name??''}} {{$product->country->country_name??''}} {{$product->category??''}} {{$product->referance??''}}{{$product->price??''}}{{$trx_product['count']??''}} {{$trx_product['total_amount']??''}}
No users found
@endsection