Yields & Portions

Recipe: {{ $recipe->name }}

@if($recipe->yield)

Active Yield Configuration

Currently used for calculations

ACTIVE

Yield Percentage

{{ number_format($recipe->yield->yield_percentage, 1) }}%

{{ $recipe->yield->yield_efficiency }}

Expected Portions

{{ number_format($recipe->yield->expected_portions) }}

{{ number_format($recipe->yield->portion_size, 0) }}{{ $recipe->yield->portionUnit?->abbreviation ?? '' }} each

Cost Per Portion

{{ currency($recipe->yield->cost_per_portion) }}

From ingredients

Total Loss

{{ number_format($recipe->yield->total_loss_percentage, 1) }}%

Trim + Cooking

@else

No Active Yield Configuration

This recipe doesn't have yield tracking enabled yet. Add a yield configuration to track raw→cooked conversions, portion calculations, and cost per portion.

Create Yield Configuration
@endif @if($yields->count() > 0)

Yield Configurations ({{ $yields->count() }})

@foreach($yields as $yield)

{{ number_format($yield->raw_quantity, 1) }}{{ $yield->rawUnit?->abbreviation ?? '' }} → {{ number_format($yield->cooked_quantity, 1) }}{{ $yield->cookedUnit?->abbreviation ?? '' }}

@if($yield->is_active) ACTIVE @endif
@if($yield->cooking_method)

Method: {{ $yield->cooking_method }}

@endif

Yield %

{{ number_format($yield->yield_percentage, 1) }}%

Portions

{{ number_format($yield->expected_portions) }}

Cost/Portion

{{ currency($yield->cost_per_portion) }}

Efficiency

{{ $yield->yield_efficiency }}

Created

{{ $yield->created_at->format('M d, Y') }}

@endforeach
@endif

Portion Sizes & Pricing ({{ $portions->count() }})

@forelse($portions as $portion)

{{ $portion->portion_name }}

@if($portion->portion_code) {{ $portion->portion_code }} @endif @if($portion->is_default) DEFAULT @endif @if(!$portion->is_active) INACTIVE @endif

Size: {{ number_format($portion->portion_size, 0) }}{{ $portion->unit?->abbreviation ?? '' }}

Ingredient Cost

{{ currency($portion->ingredient_cost) }}

Total Cost

{{ currency($portion->total_cost) }}

Selling Price

{{ currency($portion->actual_price) }}

Food Cost %

{{ number_format($portion->food_cost_percentage, 1) }}%

Profit Margin

{{ currency($portion->profit_margin) }}

@if($portion->needsPricingReview())

Pricing Review Needed

Suggested price: {{ currency($portion->suggested_price) }}

@endif
@empty

No Portion Sizes Defined

Add portion sizes to track pricing and profitability

@endforelse