Yield Configuration Details

{{ $recipe->name }}

@if($yield->is_active) ACTIVE @endif Edit Configuration

Yield %

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

{{ $yield->yield_efficiency ?? 'Good' }}

Expected Portions

{{ $yield->expected_portions }}

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

Cost per Portion

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

From recipe ingredients

Total Loss

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

Trim + Cooking loss

Ingredient Flow

Raw Ingredients

{{ number_format($yield->raw_quantity, 2) }}

{{ $yield->rawUnit->name ?? '' }}

Cooked Product

{{ number_format($yield->cooked_quantity, 2) }}

{{ $yield->cookedUnit->name ?? '' }}

Portions

{{ $yield->expected_portions }}

servings

Loss Breakdown

Trim Loss {{ number_format($yield->trim_loss_percentage, 2) }}%

{{ number_format($lossBreakdown['trim_loss_quantity'], 2) }} {{ $yield->rawUnit->abbreviation ?? '' }}

Cooking Loss {{ number_format($yield->cooking_loss_percentage, 2) }}%

{{ number_format($lossBreakdown['cooking_loss_quantity'], 2) }} {{ $yield->rawUnit->abbreviation ?? '' }}

Total Loss {{ number_format($yield->total_loss_percentage, 2) }}%

{{ number_format($lossBreakdown['total_loss_quantity'], 2) }} {{ $yield->rawUnit->abbreviation ?? '' }} wasted

Cooking Details

@if($yield->cooking_method)

Cooking Method

{{ $yield->cooking_method }}

@endif @if($yield->cooking_temperature)

Temperature

{{ $yield->cooking_temperature }}°F

@endif @if($yield->cooking_time_minutes)

Cooking Time

{{ $yield->cooking_time_minutes }} minutes

@endif @if($yield->notes)

Notes

{{ $yield->notes }}

@endif @if(!$yield->cooking_method && !$yield->cooking_temperature && !$yield->cooking_time_minutes && !$yield->notes)

No cooking details specified

@endif
@if($trendAnalysis['status'] === 'success')

Performance Trend Analysis (Last {{ $trendAnalysis['period_days'] }} Days)

Total Productions

{{ $trendAnalysis['total_productions'] }}

Avg Actual Yield

{{ $trendAnalysis['average_actual_yield'] }}%

Expected: {{ number_format($trendAnalysis['expected_yield'], 2) }}%

Consistency Rating

{{ $trendAnalysis['consistency_rating']['score'] }}

{{ $trendAnalysis['consistency_rating']['rating'] }}

High Severity

{{ $trendAnalysis['high_severity_count'] }}

variances

@if(count($trendAnalysis['recommendations']) > 0)

Recommendations

@foreach($trendAnalysis['recommendations'] as $rec)

{{ $rec['message'] }}

    @foreach($rec['actions'] as $action)
  • {{ $action }}
  • @endforeach
@endforeach
@endif
@else

No Production Data Available

Trend analysis will be available once you start recording production yields.

@endif @if($yield->variances->count() > 0)

Recent Variances

View All →
@foreach($yield->variances as $variance) @endforeach
Date Expected Yield Actual Yield Variance Severity Status
{{ $variance->production_date->format('M d, Y') }} {{ number_format($variance->expected_yield_percentage, 2) }}% {{ number_format($variance->actual_yield_percentage, 2) }}% {{ $variance->yield_variance_percentage >= 0 ? '+' : '' }}{{ number_format($variance->yield_variance_percentage, 2) }}% {{ $variance->severity }} {{ str_replace('_', ' ', $variance->investigation_status) }}
@endif

Configuration Information

Created: {{ $yield->created_at->format('M d, Y g:i A') }} @if($yield->creator) by {{ $yield->creator->name }} @endif
Last Updated: {{ $yield->updated_at->format('M d, Y g:i A') }}
Status: @if($yield->is_active) ACTIVE @else INACTIVE @endif