@extends('layouts.app-admin') @section('title', 'Royalty Reports') @section('content')
Rp {{ number_format(rand(100000000, 500000000)) }}
Total Royalties Paid
{{ number_format(rand(10000000, 50000000)) }}
Total Streams
{{ number_format(rand(100, 500)) }}
Content Creators
{{ number_format(rand(1000, 5000)) }}
Royalty Payments

Royalties by Content Type

Top Earning Artists

@php $topArtists = []; for ($i = 1; $i <= 5; $i++) { $topArtists[] = [ 'name' => 'Artist ' . $i, 'avatar' => 'https://picsum.photos/seed/artist' . $i . '/200/200', 'streams' => rand(100000, 1000000), 'earnings' => rand(10000000, 50000000), 'content_count' => rand(5, 20), ]; } @endphp @foreach ($topArtists as $artist) @endforeach
Artist Streams Earnings Content
{{ $artist['name'] }}
{{ number_format($artist['streams']) }} Rp {{ number_format($artist['earnings']) }} {{ $artist['content_count'] }} songs

Top Earning Composers

@php $topComposers = []; for ($i = 1; $i <= 5; $i++) { $topComposers[] = [ 'name' => 'Composer ' . $i, 'avatar' => 'https://picsum.photos/seed/composer' . $i . '/200/200', 'streams' => rand(100000, 1000000), 'earnings' => rand(10000000, 50000000), 'content_count' => rand(5, 20), ]; } @endphp @foreach ($topComposers as $composer) @endforeach
Composer Streams Earnings Content
{{ $composer['name'] }}
{{ number_format($composer['streams']) }} Rp {{ number_format($composer['earnings']) }} {{ $composer['content_count'] }} songs

Top Performing Content

@php $contentTypes = ['Song', 'Album', 'Cover']; $trends = ['up', 'down', 'stable']; $topContent = []; for ($i = 1; $i <= 10; $i++) { $topContent[] = [ 'title' => 'Content Title ' . $i, 'type' => $contentTypes[array_rand($contentTypes)], 'creator' => 'Creator ' . rand(1, 10), 'streams' => rand(50000, 500000), 'royalties' => rand(5000000, 25000000), 'trend' => $trends[array_rand($trends)], ]; } @endphp @foreach ($topContent as $content) @endforeach
Content Type Creator Streams Royalties Trend
{{ $content['title'] }} {{ $content['type'] }} {{ $content['creator'] }} {{ number_format($content['streams']) }} Rp {{ number_format($content['royalties']) }} @if ($content['trend'] == 'up') {{ rand(5, 20) }}% @elseif($content['trend'] == 'down') {{ rand(5, 20) }}% @else 0% @endif

Royalties by Platform

Monthly Distribution

@endsection @section('scripts') @endsection