@lang('app.menu.contract') | |||||||||
{{ $contract->company->company_name }} |
|
||||||||
|
|||||||||
{{ $contract->subject }}
{{ $contract->contract_note }}
{!! nl2br(pdfStripTags($contract->contract_detail)) !!}
@if ($contract->amount != 0)Client Name:- {{ $contract->signature->full_name }}
Place:- {{ $contract->signature->place }}
Date:- {{ $contract->signature->date->timezone($company->timezone) }}
Date:- {{ $contract->sign_date->timezone($company->timezone) }}
@if($contract->signer)Sign By : {{ $contract->signer ? $contract->signer->name : '--' }}
@endif
{{ $field->label }}
@if( $field->type == 'text' || $field->type == 'password' || $field->type == 'number' || $field->type == 'textarea') {{$contract->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'radio') {{ !is_null($contract->custom_fields_data['field_'.$field->id]) ? $contract->custom_fields_data['field_'.$field->id] : '-' }} @elseif($field->type == 'select') {{ (!is_null($contract->custom_fields_data['field_'.$field->id]) && $contract->custom_fields_data['field_'.$field->id] != '') ? $field->values[$contract->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'checkbox') {{ !is_null($contract->custom_fields_data['field_'.$field->id]) ? $contract->custom_fields_data['field_'.$field->id] : '-' }} @elseif($field->type == 'date') {{ !is_null($contract->custom_fields_data['field_'.$field->id]) ? \Carbon\Carbon::parse($contract->custom_fields_data['field_'.$field->id])->translatedFormat($contract->company->date_format) : '--'}} @endif |