@extends('layouts.landing-page') @section('styles') @endsection @section('content')
@php $imageUrl = app(\App\Services\SongServices::class)->getCoverImageS3($song, 'sm'); @endphp
Thumbnail

{{ $song->title }}

{{ $song->labels ?? '' }}
{{-- --}}
@foreach ($artists as $row)
{{ $row['name'] }}
@if ($row['is_verified'] > 0) @endif

{{ $row['followers_count'] }} followers

2.8M views
@endforeach
{!! nl2br($song->description) !!}

{{ $totalComments }} Komentar

User Avatar
@foreach ($comments as $comment) @include('partials.comment_item', [ 'comment' => $comment, 'songCreatorId' => $song->created_by, ]) @endforeach @if ($comments->count() > 0 && $comments->count() < $totalComments)
@endif
@if (session('user_active_role') != 'Composer') @endif
@if ($song->parent_song_id == null) {{-- gunakan lisensi song ini sendiri --}} @forelse ($song->licenses as $item) @php // dd($userZone,$item->zone); @endphp @if ($userZone == $item->zone && $song->types == $item->song_types && $item->payment_type == 'Beli Harga')

{{ $item->license_type }} {{ $item->time_amount > 0 ? $item->time_amount : '' }} {{ $item->time_type != null ? $item->time_type : '' }}   ({{ $item->zone }})

{{ $item->payment_type }}
{{--
{{ $item->zone }}
--}}
@if ($item->payment_type == 'Beli Harga')
Rp. {{ number_format($item->amount) }}
@else
{{ number_format($item->amount) }}%
@endif
@endif @empty
belum tersedia
@endforelse @else {{-- gunakan lisensi song parent --}} @endif
{{-- Modal untuk playlist --}} {{-- --}} @endsection @section('scripts') {{-- js untuk playlist modal --}} @endsection