@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Seller Product List')}}
@forelse($products as $product) @empty @endforelse
{{translate('Product')}} {{translate('Categories')}} {{translate('Seller')}} {{translate('Price')}} {{translate('Top Item - Todays Deal')}} {{translate('Date')}} {{translate('Action')}}
{{$product->featured_image }}
{{$product->name}}
{{(@get_translation($product->category->name))}}
{{translate('Total Sold')}} : {{$product->order->count()}}
@if($product->seller) {{@($product->seller->username)}} @else {{ translate('N/A') }} @endif {{translate('Regular Price')}} : {{(short_amount($product->price))}}
{{translate('Discount Price') }}: {{(short_amount($product->discount))}}
{{($product->top_status==1?'No':'Yes')}} {{($product->featured_status==1?'No':'Yes')}} {{get_date_time($product->created_at)}}
@if($product->status == 1) {{translate('Published')}} @elseif($product->status == 2) {{translate('Inactive')}} @elseif($product->status == 3) {{translate('Cancel')}} @else {{translate('New')}} @endif
@if(!request()->routeIs('admin.product.seller.trashed')) @endif @if(request()->routeIs('admin.product.seller.new')) @elseif(request()->routeIs('admin.product.seller.refuse')) @elseif(request()->routeIs('admin.product.seller.approved')) @endif @if(!request()->routeIs('admin.product.seller.trashed')) @else @endif
@include('admin.partials.not_found')
{{ $products->links() }}
@endsection @push('script-push') @endpush