@include('includes.head')
| ID | Photo | Artist Name | Tags | Art Work | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $artist->id }} |
@if($artist->profile_pic)
|
{{ $artist->artist_name }} | @php $tagNames = []; $tagIds = explode(',', $artist->tag_ids ?? ''); foreach($tagIds as $tid) { $tag = $allTags->firstWhere('id', $tid); if($tag) $tagNames[] = $tag->name_en; } echo implode(', ', $tagNames); @endphp | {{ $artist->art_work ?? 0 }} | {{ $artist->status ? 'Active' : 'Inactive' }} |