@lang('app.menu.contract') | |||||||||
{{ mb_ucwords($contract->company->company_name) }} |
|
||||||||
|
|||||||||
{{ $contract->subject }}
{!! nl2br(strip_tags($contract->contract_detail, ['p', 'b', 'strong', 'a'])) !!}
@if ($contract->amount != 0)Client Name:- {{ $contract->signature->full_name }}
Place:- {{ $contract->signature->place }}
Date:- {{ $contract->signature->date }}
Date:- {{ $contract->sign_date }}
{{ ucfirst($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 |