@extends('cms.layouts.authorized')
@section('title', 'Page')
@section('headerCustom')
@php
if (!empty($subtype)) {
$entity = nameToEntity($subtype);
$title = $entity::CMS_NAME;
}
else $title = $type;
@endphp
@endsection
@section('content')
@foreach($typeEntity::INDEX_FIELD as $field)
{{ keyToLabel($field) }} |
@endforeach
Action |
@foreach ($list as $item)
@foreach($typeEntity::INDEX_FIELD as $field)
formType($field) == 'amount') class="autonumeric" @endif>{{ $item->getValue($field, '', '') }} |
@endforeach
@if($typeEntity::ALLOW_MULTIPLE)
@else
@endif
@if($typeEntity::ALLOW_DELETION)
@endif
|
@endforeach
@endsection
@section('modal')
@include('cms.layouts.part.modal')
@endsection