@extends('master_admin') @section('content') @php $total_product = DB::table('products')->count(); $total_delivery_amout_pending=DB::table('orders')->where('status','=','0')->sum('total'); $total_seles_amount = DB::table('orders')->where('status','=','1')->sum('total'); $total_order = DB::table('orders')->count(); $total_category = DB::table('categories')->count(); $total_subcategory = DB::table('sub_categories')->count(); $total_band = DB::table('brands')->count(); $total_cupons = DB::table('coupons')->count(); $total_Subscriber = DB::table('subscribes')->count(); $total_customer = DB::table('users')->count(); @endphp
| Direct | $5856 | +55% |
| Affiliate | $2602 | +25% |
| $1802 | +15% | |
| Other | $1105 | +5% |