@extends('layouts.app-admin') @section('content')
@php $imageUrl = app(\App\Services\SongServices::class)->getCoverImageS3($song, 'md'); @endphp Cover Image

{{ $song->title ?? '' }}

{{ optional($song->album)->title ?? '' }}

{{ '' }}

Tindakan

@if ($song->status == 'publish' && $song->types == 'belum release') Cetak Reg Komp Lagu @endif @if ($song->status == 'draft') Edit @endif @if ($song->status == 'publish') @endif @if ($song->status == 'registered') @endif @if ($song->status == 'publish') @endif @if ($song->status == 'draft') @endif @if ($song->status != 'rejected') @endif @if ($song->status == 'rejected') @endif @if ($song->status == 'draft') Hapus @endif

Statistik Lagu

Total Plays
{{ number_format($song->play_count) }}
Downloads
{{ number_format($song->download_count) }}
Licenses Sold
{{ number_format($song->licences_sold) }}
Favorites
{{ number_format($song->favorites_count) }}

Informasi Lagu

ID Lagu
{{ $song->id }}
Judul
{{ $song->title }}
ISRC
{{ $song->isrc_code ?? '-' }}
Pencipta
{{ $composerName ?? '-' }}
@php foreach ($song->songContributors as $row) { if ($row->role == 'Composer') { echo $row->user->email; } } @endphp
Artis
{{ $artistName == '' ? 'No Artist' : $artistName }}
Album
{{ optional($song->album)->title ?? 'No Album' }}
Genre
{{ $song->genre->name ?? '' }}
@if ($song->types != 'belum release')
Release Date
{{ \Carbon\Carbon::parse($song->release_date)->format('F d, Y') }}
@endif
Durasi
{{ $song->duration ? gmdate('i:s', $song->duration) : '00:00' }}
Status
{{ $song->status }} {{ $song->types }}
{{--
License Type
{{ $licenseType }}
--}} {{--
License Price
{{ $song->license_price ? 'Rp. ' . number_format($song->license_price, 0, ',', '.') : '-' }}
--}}
Created At
{{ \Carbon\Carbon::parse($song->created_at)->translatedFormat('j F Y H:i:s') }}
Last Updated
{{ \Carbon\Carbon::parse($song->updated_at)->translatedFormat('j F Y H:i:s') }}
Created By
{{ $song->create_by->name ?? '' }}
@if ($song->updater)
Updated By
{{ $song->updater->name ?? '' }}
@endif

File Audio (WAV)

@foreach ($song->files as $row) @php $avatarUrl = app(\App\Services\UserServices::class)->getAvatar( $row->user, 'sm', ); @endphp
{{ $row->user->name }} ({{ $row->role }})
Download Hapus
@endforeach

Link Lagu

@foreach ($song->links as $rowlink)
Platform : {{ $rowlink->platform }}
{{ $rowlink->uploader->name }} ({{ $rowlink->role }})
@endforeach

Lisensi & Harga

@foreach ($song->licenses as $licence)
{{ $licence->license_type }} {{ $licence->time_amount > 0 ? $licence->time_amount : '' }} {{ $licence->time_type && $licence->time_type !== 'null' ? $licence->time_type : '' }} {{ '(' . $licence->zone . ')' }}
@if ($licence->payment_type == 'Beli Harga')
{{ $licence->payment_type }}
@else
{{ $licence->payment_type }}
@endif
{{ $licence->zone }}
@if ($licence->payment_type == 'Beli Harga') {{ 'Rp. ' . number_format($licence->amount, 2, ',', '.') }} @else {{ $licence->amount . '%' }} @endif
@endforeach
Zona (Lokal)
{{ $song->local_zones }}

Kontributor & Kredit

Orang - orang dibalik pembuatan lagu
@foreach ($song->songContributors as $contributor) @php $avatarUrl = app(\App\Services\UserServices::class)->getAvatar( $contributor->user, 'sm', ); @endphp
{{ $contributor->user->name }}
{{ $contributor->role }}
{{ $contributor->description }}
@endforeach {{-- @if ($song->composers->count())

Composers

@foreach ($song->composers as $composer) @endforeach
@else

Composers

No composers assigned.

@endif
@if ($song->composers->count())

Production Credits

  • Composer: {{ $song->composers->pluck('name')->join(', ') }}
@else

Production Credits

  • No composers assigned.
@endif
--}}

Deskripsi

{!! nl2br(e($song->description)) !!}
{{--

Cover Versions

View All
@forelse ($song->coverVersions as $cover) @php $artist = $cover->artist; $name = $artist?->name ?? 'Unknown'; $avatarUrl = 'https://ui-avatars.com/api/?name=' . urlencode($name) . '&background=e53935&color=fff'; @endphp @empty @endforelse
Cover Artist Released Plays Status
{{ $name }}
{{ \Carbon\Carbon::parse($cover->release_date)->format('M d, Y') }} {{ number_format($cover->play_count ?? 0) }} {{ $cover->status }}
No cover versions available.
--}}
@endsection @section('scripts') @endsection