@extends('layouts.app-admin') @section('content')
| Judul | Album | Genre | Tgl Buat | Status | Tindakan | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $song->title }}
@php
$artistNames =
$song->songContributors
->where('role', 'Artist')
->pluck('user.name')
->filter()
->implode(', ') ?? '';
if (empty($artistNames)) {
$artistNames = '';
}
@endphp
{{ $artistNames }}
@php
$creatorName =
$song->songContributors
->where('role', 'Composer')
->pluck('user.name')
->filter()
->implode(', ') ?? '';
if (empty($creatorName)) {
$creatorName = '';
}
@endphp
{{ $creatorName }}
{{ 'Cipt. '.$creatorName }}
|
{{ $song->album?->title ?? '-' }} | {{ $song->genre->name ?? '-' }} | {{ \Carbon\Carbon::parse($song->created_at)->format('d M Y') }} |
{{ $song->status }}
{{ $song->types }}
|
|
||||||||||||||
|
belum terdapat data
|
|||||||||||||||||||