@extends('layouts.app') @section('content') @if (auth()->user()->user_type == 'admin')
{{translate('Add New Seller')}}

@endif

{{translate('Sellers')}}

{{--! --}} @foreach($sellers as $key => $seller) @if($seller->user != null) {{-- --}} {{-- --}} @endif @endforeach
# {{translate('Name')}} {{translate('Phone')}} {{translate('Email Address')}} {{translate('Verification Info')}} {{translate('Approval')}} {{translate('Featured')}} {{ translate('Num. of Products') }}{{ translate('Due to seller') }}{{translate('Options')}}
{{ ($key+1) + ($sellers->currentPage() - 1)*$sellers->perPage() }} @if($seller->user->banned == 1) @endif {{$seller->user->name}} {{$seller->user->phone}} {{$seller->user->email}} @if ($seller->verification_info != null)
{{translate('Show')}}
@endif
{{ \App\Product::where('seller_id', $seller->user->id)->count() }}{{ $seller->productCount ?? null }} {{seller_amount($seller->user->id)}}
{{ $sellers->appends(request()->input())->links() }}
@endsection @section('script') @endsection @section('modal') @endsection