@extends('themes.backend.layouts.app') @section('dataTables') @stop @section('page_title') {{ $pageDataAtrArr['title'] }} @endsection @section('breadcrumb') {{ Breadcrumbs::render('custom-field-group.index') }} @endsection @section('content')
{{-- Module Title and Breadcrumb --}} @include('themes.backend.partials.module_title_breadcrumb', [ 'module_name' => $pageDataAtrArr['module_name'], ])
{{-- Page Title --}} @include('themes.backend.partials.page_title', [ 'title' => $pageDataAtrArr['title'], ])
@if ($roleRights['add']) @endif @if ($roleRights['delete'] && count($dataListModel) > 0) @endif
{{ csrf_field() }} @if ($roleRights['delete'] && count($dataListModel) > 0) @endif @if (count($dataListModel) > 0) @foreach ($dataListModel as $key => $record) @if ($roleRights['delete']) @endif @endforeach @endif
{{ __('customfield.custom_field_group.group_name_txt') }} {{ __('customfield.custom_field_group.assigned_templates_txt') }} {{ __('customfield.custom_field_group.total_custom_fields_txt') }} {{ __('admin.order_txt') }} {{ __('admin.status_txt') }} {{ __('admin.mdfy_date_txt') }} {{ __('admin.mdfy_by_txt') }}
@if ($roleRights['edit']) {{ $record->group_name }} @else {{ $record->group_name }} @endif {{ $record->assignedTemplates->pluck('name')->implode(', ') ?: '—' }} {{ $record->assigned_custom_fields_count }} {{ !empty($record->c_order) && $record->c_order > 0 ? $record->c_order : '' }} @if ($roleRights['edit']) @else @endif {{ date($listDataAtrArr['mdfy_dt_frmt'], strtotime($record->updated_at)) }} {{ $record->updatedBy->display_name ?? $listDataAtrArr['unknown_txt'] }}
{{-- end row --}}
{{-- container-fluid --}}
{{-- page-content --}} @endsection