@extends('reseller.layouts.app') @section('title', 'প্রো রিসেলার ড্যাশবোর্ড') @section('page-title', 'Dashboard') @push('styles') @endpush @section('content') @if($user->verification_status != 'approved')
@if($user->verification_status == 'pending')
আপনার verification documents admin review করছে। অনুগ্রহ করে অপেক্ষা করুন।
@elseif($user->verification_status == 'rejected')
আপনার verification reject হয়েছে। নতুন documents upload করুন।
@if($user->verification_note)
কারণ: {{ $user->verification_note }}
@endif
@else
অর্ডার করার জন্য আপনার একাউন্ট verify করা আবশ্যক।
@endif
মোট আয়
মোট অর্ডার
পেন্ডিং ব্যালেন্স
কাস্টমার
কোন পণ্য পাওয়া যায়নি
| Invoice | Product | Customer | Profit | Status |
|---|---|---|---|---|
| #{{ $order->invoice_id ?? $order->id }} |
@if($order->orderdetails->first() && $order->orderdetails->first()->product)
@if($order->orderdetails->first()->product->image)
@else
N/A
@endif
|
{{ $order->customer->name ?? 'Guest' }} | + ৳{{ number_format($order->reseller_profit ?? 0, 0) }} | @php $status = (string)($order->order_status ?? ''); $statusClass = ''; $statusText = ''; if($status == '6') { $statusClass = 'bg-success bg-opacity-10 text-success'; $statusText = 'Delivered'; } elseif($status == '11') { $statusClass = 'bg-danger bg-opacity-10 text-danger'; $statusText = 'Cancelled'; } elseif($status == '4') { $statusClass = 'bg-info bg-opacity-10 text-info'; $statusText = 'Shipping'; } else { $statusClass = 'bg-warning bg-opacity-10 text-warning'; $statusText = 'Pending'; } @endphp {{ $statusText }} |
|
কোন অর্ডার নেই |
||||