Recipe Management

Real-time Updated: {{ now()->format('M d, Y H:i') }}

Menu Engineering Matrix

Stars

{{ $menuEngineering['stars'] ?? 0 }}

High margin, High popularity

Plowhorses

{{ $menuEngineering['plowhorses'] ?? 0 }}

🐴

Low margin, High popularity

Puzzles

{{ $menuEngineering['puzzles'] ?? 0 }}

🧩

High margin, Low popularity

Dogs

{{ $menuEngineering['dogs'] ?? 0 }}

🐕

Low margin, Low popularity

Action Required

@if($recipesWithoutCost > 0)

Missing Cost Data

{{ $recipesWithoutCost }} recipes need costing

@endif @if($recipesWithoutPortions > 0)

No Portions Defined

{{ $recipesWithoutPortions }} recipes need portions

@endif @if($recipesWithoutYield > 0)

No Yield Data

{{ $recipesWithoutYield }} recipes need yield tests

@endif @if($recipesWithoutCost == 0 && $recipesWithoutPortions == 0 && $recipesWithoutYield == 0)

All recipes are properly configured!

@endif

Most Profitable Recipes

@forelse($mostProfitableRecipes as $recipe)

{{ $recipe->name }}

Cost: ${{ number_format($recipe->cost_per_serving, 2) }}

{{ number_format($recipe->profit_margin, 1) }}%
@empty

No recipes with margin data

@endforelse

Low Margin Recipes

@forelse($lowMarginRecipes as $recipe)

{{ $recipe->name }}

Cost: ${{ number_format($recipe->cost_per_serving, 2) }}

{{ number_format($recipe->profit_margin, 1) }}%
@empty

All recipes have good margins!

@endforelse

Pending Productions

@forelse($pendingProductions as $production)

{{ $production->recipe->name }}

Batch: {{ $production->batch_number }}

{{ ucfirst($production->status) }}
@empty

No pending productions

@endforelse

Recently Added (7 days)

@forelse($recentRecipes as $recipe)
{{ $recipe->name }}
{{ $recipe->created_at->diffForHumans() }}
@empty

No new recipes this week

@endforelse

Recently Updated (7 days)

@forelse($updatedRecipes as $recipe)
{{ $recipe->name }}
{{ $recipe->updated_at->diffForHumans() }}
@empty

No updates this week

@endforelse