{{ $band->name }}

@if(!Auth::user()->isTeamMember()) Edit Artist @endif
@if($band->logo_path)
{{ $band->name }}
@else
{{ substr($band->name, 0, 1) }}
@endif

{{ $band->name }}

Contact: {{ $band->contact_name ?? 'N/A' }}

Email: {{ $band->contact_email ?? 'N/A' }}

Phone: {{ $band->contact_phone ?? 'N/A' }}

@if($band->vat_registered)

Artist is VAT Registered

VAT Number: {{ $band->vat_number }}

@endif @if($band->location)

Location: {{ $band->location }}

@endif
@if($band->location) @endif
{!! $band->vat_registered ? 'Income to Date (ex VAT)' : 'Income to Date' !!}
£{{ number_format($incomeToDate, 2) }}
{!! $band->vat_registered ? 'Total Projected Income (ex VAT)' : 'Total Projected Income' !!}
£{{ number_format($totalProjectedIncome, 2) }}
Next Gig
@if($daysUntilNextGig !== null) @if($daysUntilNextGig == 0)
Today!
@elseif($daysUntilNextGig == 1)
Tomorrow
@elseif($daysUntilNextGig < 0)
No upcoming gigs
@else
{{ $daysUntilNextGig }} days
@endif @else
No upcoming gigs
@endif
{!! $band->vat_registered ? 'Lowest Fee (ex VAT)' : 'Lowest Fee' !!}
£{{ number_format($lowestFee, 2) }}
{!! $band->vat_registered ? 'Highest Fee (ex VAT)' : 'Highest Fee' !!}
£{{ number_format($highestFee, 2) }}
{!! $band->vat_registered ? 'Average Fee (ex VAT)' : 'Average Fee' !!}
£{{ number_format($averageFee, 2) }}

Gigs

{{ $completedGigsCount }} Completed
{{ $upcomingGigsCount }} Upcoming
{{ $totalGigsCount }} Total
@if($gigs->count() > 0)
@foreach($gigs as $gig) @endforeach
Date @if($sortDirection === 'asc') @else @endif Title Client {!! $band->vat_registered ? 'Fee (ex VAT)' : 'Fee' !!} Status
{{ $gig->start_time->format('d M Y') }} {{ $gig->title }} {{ Str::limit($gig->venue->name, 20) }} £{{ number_format($gig->fee, 2) }} @if($gig->status === 'cancelled') Cancelled @elseif($gig->status === 'completed' || $gig->start_time < now()) Completed @else Planned @endif
{{ $gigs->links() }}
@else

No gigs scheduled yet.

@endif