@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- Opening Status --}} @if($opening)

Opening Event

@if($opening->register_finalised) Register Finalised @elseif($opening->minutes_uploaded) Minutes Uploaded @else Draft @endif
Date/Time Opened
{{ $opening->opened_at ? $opening->opened_at->format('d M Y H:i') : '—' }}
Minutes Uploaded
@if($opening->minutes_uploaded) Yes @else No @endif
Register Finalised
@if($opening->register_finalised) Yes @else No @endif
{{-- Committee members --}} @if($opening->committee_members && count($opening->committee_members) > 0)
Opening Committee
@foreach($opening->committee_members as $member) {{ $member['name'] ?? '' }} @if(!empty($member['role'])) — {{ $member['role'] }} @endif @endforeach
@endif @if(!$opening->register_finalised)
@csrf @if(!$opening->minutes_uploaded) Upload minutes before finalising. @endif
@endif
{{-- Received Bids Table --}}

Bids Received ({{ $bids->count() }})

@forelse($bids as $bid) @empty @endforelse
Supplier Bid Reference Amount Submitted Status
{{ $bid->supplier->name ?? '—' }} {{ $bid->reference ?? '—' }} {{ $bid->currency }} {{ number_format($bid->amount ?? 0, 2) }} {{ $bid->submitted_at ? $bid->submitted_at->format('d M Y') : '—' }} {{ ucfirst($bid->status ?? 'pending') }}
No bids received yet.
@endif {{-- Record / Update Form --}}

{{ $opening ? 'Update Opening Record' : 'Record Bid Opening Event' }}

@csrf
Enter as JSON, e.g. [{"name":"Alice","role":"Chairman"}]