@lang('app.menu.contract')

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


@if ($contract->end_date != null) @endif
@lang('modules.contracts.contractNumber') #{{ $contract->id }}
@lang('modules.projects.startDate') {{ $contract->start_date->format(global_setting()->date_format) }}
@lang('modules.contracts.endDate') {{ $contract->end_date->format(global_setting()->date_format) }}
@lang('modules.contracts.contractType') {{ $contract->contractType->name }}

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

@if ($contract->company_logo) @endif
@lang('app.subject')

{{ $contract->subject }}

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

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

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

({{ $contract->signature->full_name }})

@endif