@extends('layouts.guest') @section('page-title', $contract['subject'] ) @section('sticky-navbar') @stop @section('content')
@include('partials.messages')
@if($contract->status == 1)
This contract is pending now. Please wait for admin's approval.
@elseif($contract->status == 3)
This contract has been rejected by admin. Please contact with support team.

{!! isset($contract['reject_reason']) ? $contract['reject_reason'] : '' !!}
@else
{!! $data['content'] !!}
@endif
{!! format_organization_info() !!}
@if($contract->contract_value != 0 )

@lang('crm.contract_value'): {{ app_format_money($contract->contract_value, get_base_currency()) }}

@endif
#@lang('crm.contract_number')
{{ $contract->id }}
@lang('crm.contract_client_fee')
{{ number_format($contract->client_fee, 2).'%' }}
@lang('crm.contract_start_date')
{{ local_date_format($contract->datestart) }}
@if(!empty($contract->dateend))
@lang('crm.contract_end_date')
{{ local_date_format($contract->dateend) }}
@endif
@lang('crm.contract_type')
{{ $contract->type->name }}
@if($contract->signed == 1)
@lang('crm.date_signed')
{{ local_date_format(explode(' ', $contract->acceptance_date)[0]) }}
@endif
@if(count($data['attachments']) > 0)

@lang('crm.contract_files')

@foreach( $data['attachments'] as $attachment) @endforeach
@endif
@if(get_option('consent_sign_method') == 'form') @include('front.sign', array('formData'=>'')) @endif @stop @section('scripts') @if(get_option('consent_sign_method') == 'form') {!! HTML::script('assets/plugins/signature-pad/signature_pad.min.js') !!} {!! HTML::script('assets/js/as/signature.js') !!} @endif @stop