@extends('layouts.app') @section('title', 'Custom fields') @section('actions') New field @endsection @section('content')
| Field | Key | Type | Shown in | Answers | Status | |
|---|---|---|---|---|---|---|
| {{ $f->label }} @if ($f->is_required)*@endif | {{ $f->field_key }} |
{{ \App\Models\CustomField::TYPES[$f->type] }} | {{ collect(['form' => true, 'list' => $f->show_in_list, 'filters' => $f->show_in_filters, 'import' => $f->show_in_import, 'portal' => $f->show_in_portal])->filter()->keys()->implode(', ') }} | {{ $f->values_count }} | {{ $f->is_active ? 'active' : 'inactive' }} | Edit @if (! $f->values_count) @endif |
| No custom fields for {{ strtolower(\App\Models\CustomField::ENTITIES[$entity]) }}s yet (up to {{ \App\Models\CustomField::MAX_PER_ENTITY }}). | ||||||