@extends('layouts.app') @section('title', __('messages.dashboard')) @section('content')
{{ __('messages.today_orders') }}
{{ number_format(abs($ordersChange), 1) }}% from yesterday
{{ __('messages.net_profit') }}
{{ number_format(abs($profitChange), 1) }}% this month
Draft Vouchers
Awaiting posting to ledger
{{ __('messages.inventory_alerts') }}
Products with low stock
| Order ID | Customer | Branch | Amount | Status | Time |
|---|---|---|---|---|---|
| #{{ $order->id }} | {{ $order->customer->first_name ?? 'Walk-in' }} | {{ $order->branch->name ?? 'N/A' }} | ${{ number_format($order->total_amount, 2) }} | {{ ucfirst($order->status) }} | {{ $order->created_at->diffForHumans() }} |
| No recent orders found | |||||
No sales data yet
@endforelse| Branch Name | Orders | Status | Contact |
|---|---|---|---|
| {{ $branch->name }} | {{ $branch->orders_count }} | Running | {{ $branch->phone ?? 'No phone' }} |
No branches found.