@extends('layouts.app-admin') @section('content')
Total Revenue
Rp. 245,382,000
15.3% vs last period
License Sales
Rp. 125,490,000
12.2% vs last period
Streaming Revenue
Rp. 98,452,000
18.5% vs last period
Expenses
Rp. 45,382,000
5.2% vs last period

Revenue Trends

Revenue trends chart would appear here

Revenue by Source

Revenue source chart would appear here

@php $sources = [ ['name' => 'License Sales', 'percentage' => 51, 'color' => 'primary'], ['name' => 'Streaming', 'percentage' => 40, 'color' => 'success'], ['name' => 'Donations', 'percentage' => 6, 'color' => 'warning'], ['name' => 'Other', 'percentage' => 3, 'color' => 'info'], ]; @endphp @foreach ($sources as $source)
{{ $source['name'] }} {{ $source['percentage'] }}%
@endforeach

Revenue by Genre

Genre revenue chart would appear here

@php $genres = [ ['name' => 'Pop', 'percentage' => 45, 'color' => 'primary'], ['name' => 'Hip Hop', 'percentage' => 30, 'color' => 'success'], ['name' => 'Rock', 'percentage' => 15, 'color' => 'warning'], ['name' => 'Electronic', 'percentage' => 10, 'color' => 'info'], ]; @endphp @foreach ($genres as $genre)
{{ $genre['name'] }} {{ $genre['percentage'] }}%
@endforeach

Monthly Revenue Breakdown

@php $months = [ [ 'name' => 'January', 'license' => 'Rp. 18,250,000', 'streaming' => 'Rp. 12,380,000', 'donations' => 'Rp. 1,250,000', 'total' => 'Rp. 31,880,000', 'growth' => 'N/A', ], [ 'name' => 'February', 'license' => 'Rp. 19,450,000', 'streaming' => 'Rp. 13,520,000', 'donations' => 'Rp. 1,380,000', 'total' => 'Rp. 34,350,000', 'growth' => '+7.7%', ], [ 'name' => 'March', 'license' => 'Rp. 21,350,000', 'streaming' => 'Rp. 14,780,000', 'donations' => 'Rp. 1,520,000', 'total' => 'Rp. 37,650,000', 'growth' => '+9.6%', ], [ 'name' => 'April', 'license' => 'Rp. 22,480,000', 'streaming' => 'Rp. 15,920,000', 'donations' => 'Rp. 1,680,000', 'total' => 'Rp. 40,080,000', 'growth' => '+6.5%', ], [ 'name' => 'May', 'license' => 'Rp. 24,150,000', 'streaming' => 'Rp. 17,250,000', 'donations' => 'Rp. 1,820,000', 'total' => 'Rp. 43,220,000', 'growth' => '+7.8%', ], [ 'name' => 'June', 'license' => 'Rp. 25,780,000', 'streaming' => 'Rp. 18,450,000', 'donations' => 'Rp. 1,950,000', 'total' => 'Rp. 46,180,000', 'growth' => '+6.8%', ], ]; @endphp @foreach ($months as $month) @endforeach
Month License Sales Streaming Donations Total Growth
{{ $month['name'] }} {{ $month['license'] }} {{ $month['streaming'] }} {{ $month['donations'] }} {{ $month['total'] }} @if ($month['growth'] != 'N/A') {{ $month['growth'] }} @else {{ $month['growth'] }} @endif

Top Revenue Generating Songs

@php $songs = [ [ 'title' => 'Blinding Lights', 'artist' => 'The Weeknd', 'revenue' => 'Rp. 4,538,200', 'trend' => 'up', ], [ 'title' => 'Save Your Tears', 'artist' => 'The Weeknd', 'revenue' => 'Rp. 3,829,100', 'trend' => 'up', ], [ 'title' => 'Levitating', 'artist' => 'Dua Lipa', 'revenue' => 'Rp. 3,284,500', 'trend' => 'down', ], [ 'title' => 'Stay', 'artist' => 'Justin Bieber', 'revenue' => 'Rp. 2,847,300', 'trend' => 'up', ], [ 'title' => 'Industry Baby', 'artist' => 'Lil Nas X', 'revenue' => 'Rp. 2,419,200', 'trend' => 'down', ], ]; @endphp @foreach ($songs as $index => $song) @endforeach
Title Artist Revenue Trend
{{ $song['title'] }}
{{ $song['artist'] }} {{ $song['revenue'] }} @if ($song['trend'] == 'up') @else @endif

Top Revenue Generating Artists

@php $artists = [ [ 'name' => 'The Weeknd', 'songs' => '12', 'revenue' => 'Rp. 8,367,300', 'trend' => 'up', ], [ 'name' => 'Dua Lipa', 'songs' => '8', 'revenue' => 'Rp. 6,284,500', 'trend' => 'up', ], [ 'name' => 'Justin Bieber', 'songs' => '10', 'revenue' => 'Rp. 5,847,300', 'trend' => 'down', ], [ 'name' => 'Lil Nas X', 'songs' => '5', 'revenue' => 'Rp. 4,419,200', 'trend' => 'up', ], [ 'name' => 'Olivia Rodrigo', 'songs' => '7', 'revenue' => 'Rp. 3,928,100', 'trend' => 'up', ], ]; @endphp @foreach ($artists as $index => $artist) @endforeach
Artist Songs Revenue Trend
{{ $artist['name'] }}
{{ $artist['songs'] }} {{ $artist['revenue'] }} @if ($artist['trend'] == 'up') @else @endif
@endsection @section('scripts') @endsection