@extends('layouts.app') @section('title', 'Bid Preference') @section('content')

Bid Preference: {{ $bidPreference->monthPackage?->name ?? 'Month #'.$bidPreference->month_package_id }}

Edit
@csrf @method('DELETE')

Strategy Summary

{{ $bidPreference->strategySummary() }}

Why reserve risk may increase

Monthly block range
{{ $bidPreference->monthly_block_min }} - {{ $bidPreference->monthly_block_max }} hrs
Long-haul preference
{{ $bidPreference->prefer_long_haul ? 'Preferred' : 'No preference' }}
Red-eye preference
{{ $bidPreference->avoid_red_eye ? 'Avoid red-eyes' : 'Open to red-eyes' }}
Preferred destinations
{{ $bidPreference->preferred_destinations ? implode(', ', $bidPreference->preferred_destinations) : '—' }}
Avoid destinations
{{ $bidPreference->avoid_destinations ? implode(', ', $bidPreference->avoid_destinations) : '—' }}
Day-off requests
@if($bidPreference->day_off_requests)
@foreach($bidPreference->day_off_requests as $day => $priority) @php $class = match ($priority) { 'green' => 'bg-success text-white', 'yellow' => 'bg-warning text-dark', 'red' => 'bg-danger text-white', default => 'bg-light text-dark' }; @endphp Day {{ $day }}: {{ ucfirst($priority) }} @endforeach
@else — @endif
Preferred check-in window
{{ $bidPreference->preferred_check_in_window ? json_encode($bidPreference->preferred_check_in_window) : '—' }}
Waiver choices
{{ $bidPreference->waiver_choices ? json_encode($bidPreference->waiver_choices) : '—' }}
Notes
{{ $bidPreference->notes ?: '—' }}
@endsection