@forelse($units as $unit) @empty @endforelse
Unit Values Active Action
{{ $unit->unit }} @if(!$unit->status) Inactive @else Active @endif @forelse($unit->attributeList() as $index => $attribute) {{ $attribute }} @empty No values — yellow + button দিয়ে add করুন @endforelse
status ? 'checked' : '' }} onchange="toggleUnitStatus({{ $unit->id }}, this)">
No units found.
@if($units->hasPages())
{{ $units->links() }}
@endif