@extends('layouts.master') @section('title', 'Dashboard') @section('css') @endsection @section('content')

Sales Dashboard

Overview of Shopee & Sales Invoice performance

Total Sales (Selected Range)

Rp {{ number_format($grandTotal, 0, ',', '.') }}
Sales Invoice Rp {{ number_format($salesInvoiceTotal, 0, ',', '.') }}
Shopee Invoice Rp {{ number_format($shopeeInvoiceTotal, 0, ',', '.') }}

Monthly Sales ({{ \Carbon\Carbon::parse($startDate)->format('F Y') }})

Rp {{ number_format($monthlyGrandTotal, 0, ',', '.') }}
Sales Invoice Rp {{ number_format($monthlySalesInvoice, 0, ',', '.') }}
Shopee Invoice Rp {{ number_format($monthlyShopeeInvoice, 0, ',', '.') }}

Shopee Net Income (Escrow)

Rp {{ number_format($shopeeNetIncome, 0, ',', '.') }}
Monthly Net Income Rp {{ number_format($monthlyShopeeNetIncome, 0, ',', '.') }}

Top 5 Shopee Items (By Nominal)

Top 5 Sales Invoice Items (By Nominal)

Top 5 Shopee Items (By Quantity)

Top 5 Sales Invoice Items (By Quantity)

@endsection @section('scripts') @endsection