@extends('admin.layouts.app', ['title' => 'Dashboard']) @push('scripts') @endpush @section('content') @php $cards = [ ['label' => 'Total Sales', 'value' => '$'.number_format($stats['total_sales'], 2), 'icon' => 'shopping-bag'], ['label' => 'Total Orders', 'value' => number_format($stats['total_orders']), 'icon' => 'shopping-cart'], ['label' => 'Pending Orders', 'value' => number_format($stats['pending_orders']), 'icon' => 'clock'], ['label' => 'Custom Orders', 'value' => number_format($stats['custom_orders']), 'icon' => 'edit-3'], ['label' => 'Completed Orders', 'value' => number_format($stats['completed_orders']), 'icon' => 'check-circle'], ['label' => 'Cancelled Orders', 'value' => number_format($stats['cancelled_orders']), 'icon' => 'x-circle'], ['label' => 'Revenue', 'value' => '$'.number_format($stats['revenue'], 2), 'icon' => 'dollar-sign'], ['label' => 'New Customers', 'value' => number_format($stats['new_customers']), 'icon' => 'users'], ['label' => 'Low Stock', 'value' => number_format($stats['low_stock_products']), 'icon' => 'alert-triangle'], ['label' => 'Payment Proofs', 'value' => number_format($stats['pending_payment_proofs']), 'icon' => 'credit-card'], ]; @endphp
| {{ $product->product_name }} | {{ $product->sold }} |
| No sales yet. |
{{ $review->customer_name }} {{ $review->rating }}/5
{{ str($review->comment)->limit(80) }}
No reviews yet.
@endforelse{{ $notification->title }}
{{ $notification->message }}
No notifications yet.
@endforelse