{{ __('My Gigs') }}

Add New Gig
@if (session('success')) @endif
@if($bands->count() > 1)
@endif
@if ($view === 'list' || $view === 'archive') @if ($gigs->count() > 0)
@if($showArtistColumn) @endif @foreach ($gigs as $gig) @if($showArtistColumn) @endif @endforeach
Date Gig Fee Artist Status 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) }} {{ $gig->band->name }} @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
{{ $gigs->appends(['view' => $view])->links() }}
@else

You haven't got any {{ $view === 'list' ? 'upcoming' : 'archived' }} gigs.

Create a gig
@endif @elseif($view === 'calendar')

@endif