@if(!auth()->user()->signature_path) @endif
@php $now = now(); $gigDate = $gig->start_time; $isPast = $gigDate->isPast(); $diff = $now->diff($gigDate); if (!$isPast) { $months = $diff->m + ($diff->y * 12); $days = $diff->d; if ($months > 0) { $countdownText = $months . ' ' . Str::plural('month', $months) . ' and ' . $days . ' ' . Str::plural('day', $days) . ' to go!'; } else { $countdownText = $days . ' ' . Str::plural('day', $days) . ' to go!'; } } @endphp @if(!$isPast)
Countdown
{{ $countdownText }}
{{ $gigDate->format('l, j F Y') }}
@else
Gig Completed
{{ $gigDate->format('l, j F Y') }}
@endif

Gig Details

Artist

{{ $gig->band->name }}

Venue

@if(optional($gig->venue->clientType)->name === 'Venue')

{{ $gig->venue->name }}

@endif

{{ $gig->address_line1 }} @if($gig->address_line2)
{{ $gig->address_line2 }} @endif
{{ $gig->town_city }}
{{ $gig->postcode }}
{{ $gig->country }}

Date & Time

{{ $gig->start_time->format('d M Y') }}

{{ $gig->start_time->format('H:i') }} - {{ $gig->end_time->format('H:i') }}

{{ $gig->band->vat_registered ? 'Fee (ex VAT)' : 'Fee' }}

£{{ number_format($gig->fee, 2) }}

@if($gig->deposit && $gig->deposit > 0)

Deposit

@if($gig->contracts()->latest()->first()?->deposit_paid_at) PAID @endif

£{{ number_format($gig->deposit, 2) }}

@endif @if($gig->travel_distance_miles)

Estimated Travel

{{ $gig->travel_distance_miles }} miles return

@ £0.45/mile = £{{ number_format($gig->travel_distance_miles * 0.45, 2) }}

@endif

Description

{{ $gig->description ?: 'No description provided.' }}

Contracts

@php $contracts = $gig->contracts()->orderBy('created_at', 'desc')->get(); @endphp @if($contracts->isEmpty())

No contract has been sent for this gig yet.

@if(auth()->user()->isTeamMember() && !auth()->user()->signature_path) @else Preview & Send Contract @endif
@else
@foreach($contracts as $contract) @php $isSuperseded = !$loop->first; @endphp
{{-- Superseded banner --}} @if($isSuperseded)
Superseded — a newer contract has been issued
@endif
{{ ucfirst($contract->status) }}
Created {{ $contract->created_at->diffForHumans() }}
{{-- Only show Send Reminder on the latest (non-superseded) contract --}} @if(!$isSuperseded && $contract->status === 'sent')
@csrf
@endif @if(!$isSuperseded && $contract->status !== 'signed' && $contract->access_token) @endif @if(!$isSuperseded && $contract->status === 'signed' && $gig->deposit > 0 && !$contract->deposit_paid_at)
@csrf
@endif View Download
@if($contract->status === 'sent' || $contract->status === 'signed')

Sent To

{{ $gig->venue->contact_name }} <{{ $gig->venue->contact_email }}>

@if($contract->updated_at > $contract->created_at) Sent {{ $contract->updated_at->format('F d, Y \a\t g:i A') }} @else Sent {{ $contract->created_at->format('F d, Y \a\t g:i A') }} @endif

@if($contract->email_opened_at)

Opened {{ $contract->email_opened_at->format('F d, Y \a\t g:i A') }}

@endif @if($contract->reminder_sent)

Reminder Sent {{ $contract->reminder_sent_date ? $contract->reminder_sent_date->format('F d, Y \a\t g:i A') : '' }}

@endif @if($contract->deposit_paid_at)

Deposit Received Email Sent {{ $contract->deposit_paid_at->format('F d, Y \a\t g:i A') }}

@endif
@endif @if($contract->status === 'signed')

Signed By

@if($contract->signature_path)
Signature
@else
Manually Signed
@endif

{{ $gig->venue->contact_name }}

{{ $contract->signed_at->format('F d, Y \a\t g:i A') }}

@endif
@endforeach

Need to send an updated contract?

@if(auth()->user()->isTeamMember() && !auth()->user()->signature_path) @else Preview & Send New Contract @endif
@endif

Gig Notes

No notes added for this gig yet.

@if($gig->information_and_terms)

Additional Contract Information

{!! $gig->information_and_terms !!}
@endif

Client Contact

View Profile →
@if($gig->venue->contact_name)

{{ $gig->venue->contact_name }}

@endif @if(in_array(optional($gig->venue->clientType)->name, ['Company', 'Venue']))

{{ $gig->venue->name }}

@endif
{{ $gig->venue->address_line1 }} @if($gig->venue->address_line2)
{{ $gig->venue->address_line2 }}@endif @if($gig->venue->town_city)
{{ $gig->venue->town_city }}@endif @if($gig->venue->county)
{{ $gig->venue->county }}@endif @if($gig->venue->postcode)
{{ $gig->venue->postcode }}@endif @if($gig->venue->country)
{{ $gig->venue->country }}@endif
@if($gig->venue->contact_email)

{{ $gig->venue->contact_email }}

@endif @if($gig->venue->contact_phone)

{{ $gig->venue->contact_phone }}

@endif

Gig Location

@php // Build the address string for maps $addressParts = array_filter([ $gig->address_line1, $gig->address_line2, $gig->town_city, $gig->county, $gig->postcode, $gig->country ]); $fullAddress = implode(', ', $addressParts); $encodedAddress = urlencode($fullAddress); @endphp

Open in Google Maps →

Signature Required

You need to add your signature to your profile before you can create and send a contract.