@extends('dashboard.layouts.master') @section('title', 'Attributes Values') @section('content')

Atrributes Values

{{--
Reset
--}}
@php $groupedAttributes = collect($mainAttributes)->groupBy('main_attribute'); $rowNumber = 1; @endphp @forelse ($groupedAttributes as $mainAttr => $items) @foreach ($items as $index => $mainAttribute) {{-- Show main_attribute only for the first row in the group --}} @if ($index === 0) @endif @endforeach @empty @endforelse
ID Main Attribute Values Action
{{ $rowNumber++ }} {{ $mainAttribute->main_attribute }}{{ trim($mainAttribute->values) }} Edit
@csrf @method('DELETE')
No Attribute Values found.
{{--
{{ $metaScripts->links() }}
--}}
@endsection