@extends('layouts/contentLayoutMaster') @section('title', 'Dashboard Ecommerce') @section('vendor-style') {{-- vendor css files --}} @endsection @section('page-style') {{-- Page css files --}} @endsection @php $discountTypes = [ ['label' => 'Percentage', 'color' => '#24B094', 'width' => \App\Models\DiscountCode::whereType(\App\Enums\DiscountCode\TypeEnum::PERCENTAGE)->count()], ['label' => 'Fixed', 'color' => '#4E2775', 'width' => \App\Models\DiscountCode::whereType(\App\Enums\DiscountCode\TypeEnum::FIXED)->count()], //['label' => 'Category', 'color' => '#F8AB1B', 'width' => '55%'], //['label' => 'Product', 'color' => '#222245', 'width' => '35%'], ]; @endphp @section('content')
Total Orders
Earnings
--}} {{--Visits
Refunded
Products
Templates
Categories
Sales
Visits
--}}
{{--
--}}
{{-- Log Template
--}} {{--Added: 2025-05-27
--}} {{--Discount Codes
Revenue
--}} {{--Total earnings from orders used discount codes.
--}} {{--