@extends('admin.adminmaster') @section("style") @endsection @section("content")

Data Analysis

  • Current Month Most Selling Products
  • @foreach($top_month_sellings_products ?? [] as $p)
  • {{ $p['get_product']['name'] ?? 'N/A' }} {{ $p['tq'] ?? 'N/A' }}
  • @endforeach
  • Overall Most Selling Products
  • @foreach($top_sellings_products ?? [] as $p)
  • {{ $p['get_product']['name'] ?? 'N/A' }} {{ $p['tq'] ?? 'N/A' }}
  • @endforeach
  • Most Selling Categories
  • @foreach($top_selling_categories ?? [] as $c)
  • - {{ $c['category_name'] ?? 'N/A' }} - {{ $c['tq'] ?? 'N/A' }}
  • @endforeach
  • Overall Top States With Most Revenue
  • @foreach($top_generating_states ?? [] as $s)
  • - {{ $s['state'] ?? 'N/A' }} - $ {{ $s['tp'] ?? 'N/A' }}
  • @endforeach
  • Current Month Top States With Most Revenue
  • @foreach($top_month_generating_states ?? [] as $s)
  • - {{ $s['state'] ?? 'N/A' }} - $ {{ $s['tp'] ?? 'N/A' }}
  • @endforeach
  • Top Customers with most Revenue
  • @foreach($top_generating_customers ?? [] as $c)
  • - {{ $c['name'] ?? 'N/A' }} ( {{ $c['email'] ?? 'N/A' }} ) - $ {{ $c['tp'] ?? 'N/A' }}
  • @endforeach
  • Products with Quantity less than 70
  • @foreach($short_products_seventy ?? [] as $p)
  • {{ $p['name'] ?? 'N/A' }} {{ $p['quantity'] ?? 'N/A' }}
  • @endforeach
  • Products with Quantity less than 20
  • @foreach($short_products_twenty ?? [] as $p)
  • {{ $p['name'] ?? 'N/A' }} {{ $p['quantity'] ?? 'N/A' }}
  • @endforeach
@endsection