| Date | Gig | Fee | @if($showArtistColumn)Artist | @endifStatus | Contract | Actions |
|---|---|---|---|---|---|---|
| status === 'cancelled') class="line-through" @endif>{{ $gig->start_time->format('d M Y') }} |
{{ $gig->title }}
{{ $gig->venue->name }}
|
£{{ number_format($gig->fee, 2) }} | @if($showArtistColumn){{ $gig->band->name }} | @endif@php $isPast = $gig->start_time->isPast(); $showCompleted = $isPast && $gig->status !== 'cancelled'; $statusLabel = $showCompleted ? 'Completed' : ucfirst($gig->status); $statusClass = match (true) { $gig->status === 'cancelled' => 'bg-red-100 text-red-800', $showCompleted || $gig->status === 'completed' => 'bg-green-100 text-green-800', default => 'bg-blue-100 text-blue-800', }; @endphp {{ $statusLabel }} | @php $latestContract = $gig->latestContract; @endphp @if ($latestContract) {{ $latestContract->display_status }} @else Not Generated @endif | Manage Edit |
You haven't got any {{ $view === 'list' ? 'upcoming' : 'archived' }} gigs.
Create a gig