@extends('layouts.app') @section('content')
{{ __('Overview of your inventory and sales performance.') }}
{{ __('Products') }}
{{ __('Active') }}: {{ $activeProductCount }}
{{ __('Orders') }}
{{ __('Pending') }}: {{ $pendingOrders }}
{{ __('Stock movements') }}
{{ __('Today orders') }}: {{ $todayOrders }}
{{ __('Sales this month') }}
{{ __('AOV') }}: {{ number_format($averageOrderValueMonth, 2) }} {{ config('stockiny.currency') }}
{{ __('Sales today') }}
{{ __('Sales this year') }}
{{ __('Inventory units') }}
{{ __('Out of stock') }}: {{ $outOfStockCount }}
{{ __('Inventory value') }}
{{ __('Low stock items') }}: {{ $lowStockCount }}
{{ __('Compare two months by fulfilled sales.') }}
{{ __('Month A') }}
{{ number_format($compareATotal, 2) }} {{ config('stockiny.currency') }}
{{ __('Month B') }}
{{ number_format($compareBTotal, 2) }} {{ config('stockiny.currency') }}
{{ __('Difference') }}
{{ $compareDelta < 0 ? '-' : '+' }}{{ number_format(abs($compareDelta), 2) }} {{ config('stockiny.currency') }}
@if ($compareDeltaPct === null) {{ __('Percent change unavailable (previous month is 0).') }} @else {{ $compareDeltaPct < 0 ? '-' : '+' }}{{ number_format(abs($compareDeltaPct), 2) }}% @endif
{{ __('Fulfilled this month') }}: {{ $fulfilledThisMonth }} / {{ $ordersThisMonth }} ({{ number_format($fulfillmentRate, 1) }}%)
| {{ __('Stock') }} | {{ __('Product') }} | {{ __('Qty sold') }} | {{ __('Sales') }} |
|---|---|---|---|
| {{ $item->product?->sku ?? '—' }} | {{ $item->product?->name ?? '—' }} | {{ (int) $item->sold_qty }} | {{ number_format((float) $item->sold_total, 2) }} {{ config('stockiny.currency') }} |
| {{ __('No fulfilled sales this month.') }} | |||
| {{ __('Stock') }} | {{ __('Product') }} | {{ __('On hand') }} |
|---|---|---|
| {{ $product->sku }} | {{ $product->name }} | {{ $product->quantity_on_hand }} |
| {{ __('All products are above minimum stock.') }} | ||
{{ $movement->product->name }}
{{ __(\Illuminate\Support\Str::headline($movement->type)) }} · {{ $movement->occurred_at->translatedFormat('M d, Y H:i') }}
{{ __('No stock movement yet.') }}
@endforelse