@extends('layouts.restaurant') @section('content')
Daily Operations Overview

{{ $branch->name }}

Launch POS →
Today's Gross Sales
TZS {{ number_format($todayRevenue, 2) }}

Confirmed dining sales

Cost of Goods Sold (COGS)
{{ $foodCostPercent }}% FOOD COST
TZS {{ number_format($todayCogs, 2) }}

Direct food ingredient cost

Gross Profit (Faida Ghafi)
{{ $grossMarginPercent }}% MARGIN
TZS {{ number_format($grossProfit, 2) }}

Revenue minus COGS

Operating Expenses
TZS {{ number_format($todayExpenses, 2) }}
View Report →
Net Operating Profit
TZS {{ number_format($netProfit, 2) }}
{{ $netMarginPercent }}% NET
Order Volume
{{ $todayOrdersCount }}
Avg Ticket
TZS {{ number_format($avgOrderValue, 2) }}

Top Selling Dishes Today

@if(count($topItems) > 0) @foreach($topItems as $dish) @endforeach
Item Qty Revenue
{{ $dish->item->name ?? 'Unknown' }} {{ $dish->total_qty }} TZS {{ number_format($dish->total_amount, 2) }}
@else
No orders processed yet today.
@endif

Recent Orders

View All →
@if(count($recentOrders) > 0) @foreach($recentOrders as $order) @endforeach
Order # Time Total Status
#{{ $order->order_number }} {{ $order->created_at->format('H:i') }} TZS {{ number_format($order->total, 2) }} {{ $order->status->value }}
@else
No recent orders yet.
@endif
@endsection