@extends('layouts.winemaker') @section('title', 'Bottle Wine - Winemaker') @section('content')

Wine Details

Selected Harvest

Harvest ID: #{{ $harvest->id }}
Date: @if($harvest->plannedTask && $harvest->plannedTask->execution_date) {{ \Carbon\Carbon::parse($harvest->plannedTask->execution_date)->format('d M Y') }} @else {{ \Carbon\Carbon::parse($harvest->date)->format('d M Y') }} @endif
Variety: {{ $harvest->varietyVariation->grapeVariety->variety_name ?? 'Unknown' }}
Total Weight: {{ number_format($harvest->weight, 2) }} kg
Consumed: {{ number_format($harvest->consumed_weight, 2) }} kg
Available: {{ number_format($harvest->remaining_weight, 2) }} kg
Sugar Content: {{ number_format($harvest->sugar_content, 1) }}°NM
@csrf
Maximum available: {{ number_format($harvest->remaining_weight, 2) }} kg
@error('weight_to_use')
{{ $message }}
@enderror
@error('wine_name')
{{ $message }}
@enderror
@php $harvestDate = ($harvest->plannedTask && $harvest->plannedTask->execution_date) ? $harvest->plannedTask->execution_date : $harvest->date; @endphp @error('vintage')
{{ $message }}
@enderror
@error('wine_type')
{{ $message }}
@enderror
@error('sweetness')
{{ $message }}
@enderror
@error('alcohol_percentage')
{{ $message }}
@enderror
Number of bottles produced
@error('bottles_produced')
{{ $message }}
@enderror
Default: 0.75L
@error('bottle_volume')
{{ $message }}
@enderror
@php $harvestDate = ($harvest->plannedTask && $harvest->plannedTask->execution_date) ? $harvest->plannedTask->execution_date : $harvest->date; @endphp @error('production_date')
{{ $message }}
@enderror
Leave empty if not yet bottled
@error('bottling_date')
{{ $message }}
@enderror
Set to "Ready" if the wine is prepared for sale
@error('status')
{{ $message }}
@enderror
Set price now or later
@error('price_per_bottle')
{{ $message }}
@enderror
Tasting notes, characteristics, pairing suggestions
@error('description')
{{ $message }}
@enderror
Upload an image of the wine bottle (JPG, PNG, max 2MB)
@error('image')
{{ $message }}
@enderror
Cancel
@endsection