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

{{translate($title)}}

{{translate('Seller Details')}}
{{$seller->image}}
{{$seller->name}}

{{translate('Joining Date')}} {{get_date_time($seller->created_at,'d M, Y h:i A')}}

{{translate('Seller information')}}
  • {{translate('Username')}} {{$seller->username}}
  • {{translate('Phone')}} {{$seller->phone}}
  • {{translate('Status')}} @if($seller->status == 1) {{translate('Active')}} @else {{translate('Banned')}} @endif
  • {{translate('Number Of Orders')}} {{$orders['count']}}
  • {{translate('Seller Balance')}} {{(short_amount($seller->balance))}}
  • {{translate('Balance Update')}}
{{translate('latest product order')}}
@forelse($orders['physical']->take(5) as $value) @empty @endforelse
{{translate('Order Number - Time')}} {{translate('Status')}}
{{($value->order_id)}}- {{diff_for_humans($value->created_at)}} @if($value->status == App\Models\Order::PLACED) {{translate('Placed')}} @elseif($value->status == App\Models\Order::CONFIRMED) {{translate('Confirmed')}} @elseif($value->status == App\Models\Order::PROCESSING) {{translate('Processing')}} @elseif($value->status == App\Models\Order::SHIPPED) {{translate('Shipped')}} @elseif($value->status == App\Models\Order::DELIVERED) {{translate('Delivered')}} @elseif($value->status == App\Models\Order::CANCEL) {{translate('Cancel')}} @endif
@include('admin.partials.not_found')
{{translate('New order list')}}

{{$seller->product->where('product_type', 102)->count()}}

{{translate('Physical product')}}

{{translate('View All')}}

{{$orders['physical']->count()}}

{{translate('physical product order')}}

{{translate('View All')}}

{{$orders['digital']}}

{{translate('Digital product order')}}

{{translate('View All')}}

{{$seller->transaction->count()}}

{{translate('Total transaction')}}

{{translate('View All')}}

{{round(($seller->withdraw->sum('amount')))}} {{default_currency()->name}}

{{translate('Total withdraw amount')}}

{{translate('View All')}}
{{translate('Seller Information Update')}}
@csrf
@endsection