{{ labels('admin_labels.total_sales', 'Total Sales') }}

{{ $currency . $overallSale }}

{{ labels('admin_labels.total_orders', 'Total Orders') }}

{{ app(OrderService::class)->ordersCount('', $seller_id, '', $store_id) }}

{{ labels('admin_labels.total_products', 'Total Products') }}

{{ app(ProductService::class)->countProducts($seller_id, $store_id) }}

{{ labels('admin_labels.low_stock_products', 'Low Stock Products') }}

{{ countProductsStockLowStatus($seller_id, $store_id) }}

{{ labels('admin_labels.total_balance', 'Total Balance') }}

{{ $currency . number_format($total_balance, 2) }}

{{ labels('admin_labels.most_selling_category', 'Most Selling Category') }}

{{ labels('admin_labels.customer_rating', 'Customer Rating') }}

{{ isset($seller_rating[0]->rating) ? $seller_rating[0]->rating : '' }}

{{ labels('admin_labels.recent_reviews', 'Recent Reviews') }}

{{ labels('admin_labels.new_messages', 'New Messages') }}

{{ labels('admin_labels.orders_overview', 'Orders Overview') }}

{{ labels('admin_labels.received', 'Received') }}

{{ app(OrderService::class)->ordersCount('received', $seller_id, '', $store_id) }}

@php $currentRecivedOrder = app(OrderService::class)->ordersCount('received', $seller_id, '', $store_id); $maxValue = app(OrderService::class)->ordersCount('', $seller_id, '', $store_id); if ($currentRecivedOrder > 0 && $maxValue > 0) { $recivedOrderWidth = ($currentRecivedOrder / $maxValue) * 100; } else { $recivedOrderWidth = 0; } @endphp

{{ labels('admin_labels.processed', 'Processed') }}

{{ app(OrderService::class)->ordersCount('processed', $seller_id, '', $store_id) }}

@php $currentRecivedOrder = app(OrderService::class)->ordersCount('processed', $seller_id, '', $store_id); $maxValue = app(OrderService::class)->ordersCount('', $seller_id, '', $store_id); if ($currentRecivedOrder > 0 && $maxValue > 0) { $processedOrderWidth = ($currentRecivedOrder / $maxValue) * 100; } else { $processedOrderWidth = 0; } @endphp

{{ labels('admin_labels.shipped', 'Shipped') }}

{{ app(OrderService::class)->ordersCount('shipped', $seller_id, '', $store_id) }}

@php $currentRecivedOrder = app(OrderService::class)->ordersCount('shipped', $seller_id, '', $store_id); $maxValue = app(OrderService::class)->ordersCount('', $seller_id, '', $store_id); if ($currentRecivedOrder > 0 && $maxValue > 0) { $shippedOrderWidth = ($currentRecivedOrder / $maxValue) * 100; } else { $shippedOrderWidth = 0; } @endphp

{{ labels('admin_labels.delivered', 'Delivered') }}

{{ app(OrderService::class)->ordersCount('delivered', $seller_id, '', $store_id) }}

@php $currentRecivedOrder = app(OrderService::class)->ordersCount('delivered', $seller_id, '', $store_id); $maxValue = app(OrderService::class)->ordersCount('', $seller_id, '', $store_id); if ($currentRecivedOrder > 0 && $maxValue > 0) { $deliveredOrderWidth = ($currentRecivedOrder / $maxValue) * 100; } else { $deliveredOrderWidth = 0; } @endphp

{{ labels('admin_labels.cancelled', 'Cancelled') }}

{{ app(OrderService::class)->ordersCount('cancelled', $seller_id, '', $store_id) }}

@php $currentRecivedOrder = app(OrderService::class)->ordersCount('cancelled', $seller_id, '', $store_id); $maxValue = app(OrderService::class)->ordersCount('', $seller_id, '', $store_id); if ($currentRecivedOrder > 0 && $maxValue > 0) { $cancelledOrderWidth = ($currentRecivedOrder / $maxValue) * 100; } else { $cancelledOrderWidth = 0; } @endphp

{{ labels('admin_labels.returned', 'Returned') }}

{{ app(OrderService::class)->ordersCount('returned', $seller_id, '', $store_id) }}

@php $currentRecivedOrder = app(OrderService::class)->ordersCount('returned', $seller_id, '', $store_id); $maxValue = app(OrderService::class)->ordersCount('', $seller_id, '', $store_id); if ($currentRecivedOrder > 0 && $maxValue > 0) { $returnedOrderWidth = ($currentRecivedOrder / $maxValue) * 100; } else { $returnedOrderWidth = 0; } @endphp

{{ labels('admin_labels.stock_report', 'Stock Report') }}

{{ labels('admin_labels.product_variant_id', 'Product Variant ID') }} {{ labels('admin_labels.product', 'Product') }} {{ labels('admin_labels.price', 'Price') }} {{ labels('admin_labels.stock_count', 'Stock Count') }} {{ labels('admin_labels.stock_status', 'Stock Status') }} {{ labels('admin_labels.category', 'Category') }}

{{ labels('admin_labels.recent_orders', 'Recent Orders') }}

{{ labels('admin_labels.id', 'ID') }} {{ labels('admin_labels.order_item_id', 'Order Item ID') }} {{ labels('admin_labels.order_id', 'Order ID') }} {{ labels('admin_labels.user_id', 'User ID') }} {{ labels('admin_labels.seller_id', 'Seller ID') }} {{ labels('admin_labels.comission', 'Commission') }} {{ labels('admin_labels.quantity', 'Quantity') }} {{ labels('admin_labels.user_name', 'User Name') }} {{ labels('admin_labels.product_name', 'Product Name') }} {{ labels('admin_labels.mobile', 'Mobile') }} {{ labels('admin_labels.total', 'Total') }}() {{ labels('admin_labels.deliver_by', 'Deliver By') }} {{ labels('admin_labels.delivery_boy_id', 'Delivery Boy ID') }} {{ labels('admin_labels.product_variant_id', 'Product Variant ID') }} {{ labels('admin_labels.delivery_date', 'Delivery Date') }} {{ labels('admin_labels.delivery_time', 'Delivery Time') }} {{ labels('admin_labels.updated_by', 'Updated By') }} {{ labels('admin_labels.active_status', 'Active Status') }} {{ labels('admin_labels.transaction_status', 'Transaction Status') }} {{ labels('admin_labels.order_date', 'Order Date') }} {{ labels('admin_labels.mail_status', 'Mail Status') }} {{ labels('admin_labels.action', 'Action') }}

{{ labels('admin_labels.top_selling_products', 'Top Selling Products') }}

{{ labels('admin_labels.most_popular_products', 'Most Popular Products') }}

{{-- order tracking modal --}}