@forelse ($rows as $a)
@php
$editPayload = [
'id' => $a->id,
'attribute_name' => $a->attribute_name,
'attribute_key' => $a->attribute_key,
'attribute_value' => $a->attribute_value,
'description' => $a->description,
'status' => (bool) $a->status,
];
@endphp
| {{ $a->attribute_name }} |
{{ $a->attribute_key }} |
{{ $a->attribute_value ?: '/' }} |
{{ $a->description ?: '/' }} |
@if ($a->status)
Active
@else
Off
@endif
|
|
@empty
|
@include('user.partials.empty-state', [
'message' =>
'No attributes match the current filters. Create attributes to store reusable customer fields.',
'resetHref' => url('/attributes'),
'actionHref' => '#new-attribute',
'actionLabel' => 'Create attribute',
])
|
@endforelse