@extends('layouts.winemaker') @section('title', 'Sales Management - Winemaker') @section('content')
Manage wines available for sale in the catalog
| ID | Wine Name | Vintage | Type | Variety | Stock | Price | Catalog Status | Actions |
|---|---|---|---|---|---|---|---|---|
| #{{ $wine->id }} |
{{ $wine->wine_name }}
|
{{ $wine->vintage }} | {{ ucfirst($wine->wine_type) }} | {{ $wine->grapeVariety->variety_name ?? 'N/A' }} |
{{ $wine->bottles_in_stock }}
|
@if($wine->price_per_bottle)
${{ number_format($wine->price_per_bottle, 2) }}
@else
Not set
@endif
|
@if($wine->status == 'ready' && $wine->bottles_in_stock > 0 && $wine->price_per_bottle) In Catalog @else Not Listed @endif |
@if($wine->status == 'ready' && $wine->bottles_in_stock > 0 && $wine->price_per_bottle)
@else
@endif
Edit
|
Wines must have "Ready" status and available stock to be listed for sale.
View Cellar