@extends('layouts.admin') @section('title', 'Dashboard · Aromaniacs ERP') @section('overline', 'Overview') @section('heading', 'Dashboard') @section('content')
@foreach ([ ['label' => 'Brands', 'value' => $metrics['brands']], ['label' => 'Fragrances', 'value' => $metrics['fragrances']], ['label' => 'Decant Sizes', 'value' => $metrics['decant_sizes']], ['label' => 'SKUs', 'value' => $metrics['skus']], ] as $tile)

{{ $tile['label'] }}

{{ $tile['value'] }}

@endforeach

Stock on hand

{{ number_format($metrics['stock_ml'], 2) }} ml

Bottle intakes

{{ $metrics['bottle_intakes'] }}

Spend this month

{{ number_format($metrics['month_spend'], 2) }}

Revenue this month

{{ number_format($metrics['month_revenue'], 2) }}

Pending orders

{{ $metrics['pending_orders'] }}

Orders today

{{ $metrics['today_orders'] }}

@if ($recentOrders->isNotEmpty())

Sales

Recent Orders

View all
@foreach ($recentOrders as $order) @endforeach
Order # Customer Status Total Placed
{{ $order->order_number }} {{ $order->customer_name }} @if ($order->status?->value === 'cancelled') Cancelled @elseif ($order->status?->value === 'pending') Pending @else {{ $order->status->label() }} @endif {{ number_format((float) $order->total, 2) }} {{ optional($order->placed_at)->diffForHumans() }}
@endif @if ($resaleBottles->isNotEmpty())

For resale

Full bottles in stock

View all
@foreach ($resaleBottles as $bottle) @endforeach
Fragrance Brand Volume Cost Purchased
{{ $bottle->fragrance?->name }} {{ $bottle->fragrance?->brand?->name }} {{ number_format((float) $bottle->volume_ml, 2) }} ml {{ number_format((float) $bottle->cost_total, 2) }} {{ optional($bottle->purchased_at)->format('d M Y') }}
@endif

Recently Added

Latest Brands

@if (Route::has('admin.brands.index')) View all @endif
@if ($recentBrands->isEmpty())

No brands yet.

Brand CRUD ships in the next step.

@else @foreach ($recentBrands as $brand) @endforeach
Name Slug Status Added
{{ $brand->name }} {{ $brand->slug }} @if ($brand->is_active) Active @else Hidden @endif {{ $brand->created_at->diffForHumans() }}
@endif

Welcome

A fragrance that lingers like a thought.

Use this console to manage the catalog, intake stock at the milliliter level, and watch your shareholder ledger come together.

Progress
  • · Brand CRUD (live)
  • · Fragrance CRUD with image + notes (live)
  • · Decant sizes management (live)
  • · SKU management with price override (live)
  • · Bottle intake + ml stock ledger (live)
  • · Expense tracker (live)
  • · Pricing engine (live)
  • · Customers + Orders + oversell guard (live)
  • · Storefront + payments
  • · Shareholder ledger
@endsection