@extends('layouts.app') @section('page-title')
@endsection @section('content'){{ ucwords($clientDetail->name) }}
{{ $clientDetail->email }}
{{ $clientDetail->mobile ?? '-'}}
{{ (!empty($clientDetail) ) ? ucwords($clientDetail->company_name) : '-'}}
{{ $clientDetail->website ?? '-' }}
{{ $clientDetail->gst_number ?? '-' }}
{!! (!empty($clientDetail)) ? ucwords($clientDetail->address) : '-' !!}
{{ $clientDetail->shipping_address ?? '-' }}
{{ $clientDetail->clientCategory->category_name }}
{{ $clientDetail->clientSubcategory->category_name }}
@if( $field->type == 'text') {{$clientDetail->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'password') {{$clientDetail->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'number') {{$clientDetail->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'textarea') {{$clientDetail->custom_fields_data['field_'.$field->id] ?? '-'}} @elseif($field->type == 'radio') {{ !is_null($clientDetail->custom_fields_data['field_'.$field->id]) ? $clientDetail->custom_fields_data['field_'.$field->id] : '-' }} @elseif($field->type == 'select') {{ (!is_null($clientDetail->custom_fields_data['field_'.$field->id]) && $clientDetail->custom_fields_data['field_'.$field->id] != '') ? $field->values[$clientDetail->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'checkbox') {{ !is_null($clientDetail->custom_fields_data['field_'.$field->id]) ? $field->values[$clientDetail->custom_fields_data['field_'.$field->id]] : '-' }} @elseif($field->type == 'date') {{ \Carbon\Carbon::parse($clientDetail->custom_fields_data['field_'.$field->id])->format($global->date_format)}} @endif
{!! $clientDetail->note !!}