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

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

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

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

# @lang('modules.contracts.contractNumber') {{ $contract->id }}
@lang('modules.projects.startDate') {{ $contract->start_date->format($global->date_format) }}
@lang('modules.contracts.endDate') {{ $contract->end_date == null ? $contract->end_date : $contract->end_date->format($global->date_format) }}
@lang('modules.contracts.contractType') {{ $contract->contract_type ? $contract->contract_type->name : ''}}
{{ csrf_field() }} {!! Form::hidden('contract_id', $contract->id) !!}
    @forelse($contract->files as $file)
  • {{ $file->filename }}
    @if(is_null($file->external_link))    @endif    {{ $file->created_at->diffForHumans() }}
  • @empty
  • @lang('messages.noFileUploaded')
  • @endforelse
{{--Timer Modal--}} {{--Timer Modal Ends--}}
{{--sticky note script--}}