@if ($contract->gig->band->logo_path)
@endif

Performance Contract

Contract Date: {{ $contract->created_at ? $contract->created_at->format('F d, Y') : now()->format('F d, Y') }}

1. PARTIES

This agreement is made between:

THE ARTIST:

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

@if ($contract->gig->band->contact_name)

Contact: {{ $contract->gig->band->contact_name }}

@endif @if ($contract->gig->band->contact_email)

Email: {{ $contract->gig->band->contact_email }}

@endif @if ($contract->gig->band->contact_phone)

Phone: {{ $contract->gig->band->contact_phone }}

@endif

THE CLIENT:

{{ $contract->gig->client->name }}

@if ($contract->gig->client->contact_name)

Contact: {{ $contract->gig->client->contact_name }}

@endif @if ($contract->gig->client->contact_email)

Email: {{ $contract->gig->client->contact_email }}

@endif @if ($contract->gig->client->contact_phone)

Phone: {{ $contract->gig->client->contact_phone }}

@endif

2. EVENT DETAILS

@if ($contract->gig->description) @endif @if ($contract->gig->vat_percentage && $contract->gig->vat_percentage > 0) @php $fee = $contract->gig->fee; $vatAmount = $fee * ($contract->gig->vat_percentage / 100); $total = $fee + $vatAmount; @endphp @if ($contract->gig->deposit && $contract->gig->deposit > 0) @endif @else @if ($contract->gig->deposit && $contract->gig->deposit > 0) @endif @endif
Event Name: {{ $contract->gig->title }}
Event Description: {!! nl2br(e($contract->gig->description)) !!}
Date: {{ $contract->gig->start_time->format('l, d F Y') }}
Performance Time: {{ $contract->gig->start_time->format('g:i A') }} to {{ $contract->gig->end_time->format('g:i A') }}
Performance Fee: £{{ number_format($fee, 2) }}
VAT @ {{ number_format($contract->gig->vat_percentage, 1) }}%: £{{ number_format($vatAmount, 2) }}
Total: £{{ number_format($total, 2) }}
Agreed Deposit: £{{ number_format($contract->gig->deposit, 2) }}
Balance: £{{ number_format($total - $contract->gig->deposit, 2) }}
Performance Fee: £{{ number_format($contract->gig->fee, 2) }}
Agreed Deposit: £{{ number_format($contract->gig->deposit, 2) }}
Balance: £{{ number_format($contract->gig->fee - $contract->gig->deposit, 2) }}

3. VENUE / LOCATION

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

{{ $contract->gig->client->name }}

@endif @if ($contract->gig->address_line1)

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

@else

Venue address to be confirmed

@endif
@if ($contract->gig->information_and_terms)

4. INFORMATION & TERMS

{!! $contract->gig->information_and_terms !!}
@endif @php $signingUser = $signingUser ?? $contract->gig->band->user; @endphp

SIGNATURES

ON BEHALF OF THE ARTIST:

@if ($signingUser->signature_path)
@else
@endif

Name: {{ $signingUser->name }}

Artist: {{ $contract->gig->band->name }}

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

@if (!request()->is('c/*') || $contract->status === 'signed')

CLIENT SIGNATURE:

@if ($contract->signature_path)
@else
SIGN BELOW
@endif

Name: {{ $contract->gig->client->contact_name ?: '______________________' }}

@php $clientTypeName = optional($contract->gig->client->clientType)->name; @endphp @if ($clientTypeName !== 'Individual')

{{ $clientTypeName === 'Venue' ? 'Venue' : 'Company' }}: {{ $contract->gig->client->name }}

@endif

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

@endif