@if(!$contract->signature) @else @endif id) }}" class="btn btn-default pull-right m-r-10"> @lang('app.download')
{!! $contract->contract_detail !!}

{{ ucwords($global->company_name) }}

{!! nl2br($global->address) !!}

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

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

@lang('modules.contracts.signature')

@endif
{!! Form::open(['id'=>'addDiscussion','class'=>'ajax-form','method'=>'POST']) !!}
{!! Form::close() !!}
@foreach($contract->discussion as $discussion)
{{ $discussion->user->name }} - {{ $discussion->created_at->diffForHumans(\Carbon\Carbon::now()) }}
@if($discussion->from == $user->id)
@endif
{{ $discussion->message }}
@endforeach

{{ ucwords($global->company_name) }}

{!! nl2br($global->address) !!}

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

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

@lang('modules.contracts.signature')

@endif
{{--Timer Modal--}} {{--Timer Modal Ends--}}
{{--sticky note script--}}