{{$customer['name']}} #{{$customer['id']}}
@if ($adminUser)
@include('admin.customer._operation_buttons')
@endif
@if ($customer['fields']) @php $customer_fields = json_decode($customer['fields'],true); @endphp @foreach ($customerfields as $field) @php $field_options = json_decode($field['options'],true); @endphp
{{$field['name']}}: @if (in_array($field['type'],['select','radio'])) {{isset($customer_fields[$field['field']]) ? $field_options[$customer_fields[$field['field']]]:''}} @elseif (in_array($field['type'],['checkbox','multipleSelect'])) @foreach ($customer_fields[$field['field']] as $key => $value) @if ($value) {{$field_options[$value]}} @endif @endforeach @else @isset($customer_fields[$field['field']]) {{$customer_fields[$field['field']]}} @endisset @endif
@endforeach @endif
{{$customer['created_at']}}
添加时间
{{$customer['updated_at']->diffForHumans()}}
最后更新