@extends('layouts/default', [ 'helpText' => trans('admin/custom_fields/general.about_fieldsets_text'), 'helpPosition' => 'right', ]) {{-- Page title --}} @section('title') {{ trans('admin/custom_fields/general.manage') }} {{ trans('admin/custom_fields/general.custom_fields') }} @parent @stop @section('content') @can('view', \App\Models\CustomFieldset::class)
{{ trans('general.name') }} | {{ trans('admin/custom_fields/general.qty_fields') }} | {{ trans('admin/custom_fields/general.used_by_models') }} | {{ trans('table.actions') }} |
---|---|---|---|
{{ link_to_route("fieldsets.show",$fieldset->name,['fieldset' => $fieldset->id]) }} | {{ $fieldset->fields->count() }} | @foreach($fieldset->models as $model) {{ $model->name }}{{ ($model->model_number) ? ' ('.$model->model_number.')' : '' }} @endforeach |
|
{{ trans('general.name') }} | {{ trans('admin/custom_fields/general.help_text')}} | {{ trans('admin/custom_fields/general.unique') }} | {{ trans('admin/custom_fields/general.db_field') }} | {{ trans('admin/custom_fields/general.field_format') }} | Visible to User | {{ trans('admin/custom_fields/general.show_in_email_short') }} | {{ trans('admin/custom_fields/general.show_in_requestable_list_short') }} | {{ trans('admin/custom_fields/general.unique') }} | {{ trans('admin/custom_fields/general.field_element_short') }} | {{ trans('admin/custom_fields/general.fieldsets') }} | {{ trans('button.actions') }} | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $field->name }} | {{ $field->help_text }} | {!! ($field->is_unique=='1') ? ''.trans('general.yes').'' : ''.trans('general.no').'' !!} |
{{ $field->convertUnicodeDbSlug() }}
@if ($field->convertUnicodeDbSlug()!=$field->db_column)
{!! trans('admin/custom_fields/general.db_convert_warning',['db_column' => $field->db_column, 'expected' => $field->convertUnicodeDbSlug()]) !!} @endif |
{{ $field->format }} | {!! ($field->field_encrypted=='1' ? '' : '') !!} | {!! ($field->show_in_listview=='1' ? '' : '') !!} | {!! ($field->display_in_user_view=='1' ? '' : '') !!} | {!! ($field->show_in_email=='1') ? ''.trans('general.yes').'' : ''.trans('general.no').'' !!} | {!! ($field->show_in_requestable_list=='1') ? ''.trans('general.yes').'' : ''.trans('general.no').'' !!} | {!! ($field->is_unique=='1') ? ''.trans('general.yes').'' : ''.trans('general.no').'' !!} | {{ $field->element }} | @foreach($field->fieldset as $fieldset) {{ $fieldset->name }} @endforeach |
|