@extends('layouts.admin') @section('content')

{{ __('admin.dashboard') }}

{{ __('admin.total_revenue') }}

₼{{ number_format($stats['total_revenue'], 2) }}

{{ __('admin.recent_orders') }}

@forelse ($stats['recent_orders'] as $order) @empty @endforelse
{{ __('admin.order_id') }} {{ __('admin.customer') }} {{ __('admin.status') }} {{ __('admin.total') }}
{{ $order->formatted_order_number }} {{ $order->user->name }} {{ ucfirst($order->payment_status) }} ₼{{ number_format($order->total_amount, 2) }}
{{ __('admin.no_recent_orders') }}

{{ __('admin.low_stock_products') }}

@forelse ($stats['low_stock_products'] as $product) @empty @endforelse
{{ __('admin.product') }} {{ __('admin.stock') }}
{{ $product->name }} {{ $product->stock_quantity }}
{{ __('admin.no_low_stock_products') }}
@endsection