@lang('app.menu.contract')

{{ company()->company_name }}
{!! nl2br(default_address()->address) !!}
{{ company()->company_phone }}


@if ($contract->end_date != null) @endif
@lang('modules.contracts.contractNumber') {{ $contract->contract_number }}
@lang('modules.projects.startDate') {{ $contract->start_date->translatedFormat(company()->date_format) }}
@lang('modules.contracts.endDate') {{ $contract->end_date->translatedFormat(company()->date_format) }}
@lang('modules.contracts.contractType') {{ $contract->contractType->name }}
@if ($contract->client->clientDetails->company_logo) @endif

@lang("app.client")
{{ $contract->client->name_salutation }}
{{ $contract->client->clientDetails->company_name }}
{!! nl2br($contract->client->clientDetails->address) !!}

@lang('app.subject')

{{ $contract->subject }}

@lang('modules.contracts.notes')

{{ $contract->contract_note }}

@lang('app.description')
{!! $contract->contract_detail !!}
@if ($contract->amount != 0)

@lang('modules.contracts.contractValue'): {{ currency_format($contract->amount, $contract->currency->id) }}

@endif

@if ($contract->signature)
@lang('modules.estimates.clientsignature')

{{ $contract->signature->full_name }}
@lang('app.place'): {{ $contract->signature->place }}
@lang('app.date'): {{ $contract->signature->date->timezone($company->timezone) }}

@endif @if ($contract->company_sign)
@lang('modules.estimates.companysignature')

@lang('app.date'): {{ $contract->sign_date->timezone($company->timezone) }}

@endif
{{-- Custom fields data --}} @if (isset($fields) && count($fields) > 0)
@lang('modules.projects.otherInfo')
@endif