{{-- resources/views/settings/seasons.blade.php --}} @extends('layouts.app') @section('title', 'Seasons') @section('page_title', 'Seasons') @section('page_subtitle', 'Define pricing seasons') @section('content') @include('settings.partials.nav')
Seasons
@if($seasons->isEmpty())

No seasons configured yet

@else
@foreach($seasons as $season) @php $typeColors = [ 'low' => ['bg'=>'#dbeafe','color'=>'#1e40af'], 'shoulder' => ['bg'=>'#fef3c7','color'=>'#92400e'], 'high' => ['bg'=>'#d1fae5','color'=>'#065f46'], 'peak' => ['bg'=>'#fee2e2','color'=>'#991b1b'], ]; $tc = $typeColors[$season->type] ?? $typeColors['low']; @endphp @endforeach
Name Type Start End Rate Multiplier
{{ $season->name }} {{ ucfirst($season->type) }} {{ $season->start_date->format('d M Y') }} {{ $season->end_date->format('d M Y') }} {{ $season->rate_multiplier ?? 1 }}×
@csrf @method('DELETE')
@endif
Add Season
@csrf
×
e.g. 1.5 = 50% markup on base rates
@endsection @push('scripts') @endpush