@extends('layouts.app-admin')
@section('title', 'Edit Royalty Payment')
@section('content')
@php
// Generate dummy data for the specific royalty
$royalty = [
'id' => 'ROY00123',
'user_id' => 5,
'user_name' => 'John Doe',
'user_email' => 'johndoe@example.com',
'user_avatar' => 'https://picsum.photos/seed/user1/200/200',
'role' => 'Artist',
'content_type' => 'Song',
'content_id' => 10,
'content_name' => 'Amazing Song Title',
'period' => 'Q2 2023',
'streams' => 245789,
'amount' => 3500000,
'status' => 'Processed',
'date_created' => now()->subDays(15)->format('Y-m-d'),
'date_processed' => now()->subDays(10)->format('Y-m-d'),
'date_paid' => null,
'payment_method' => 'Bank Transfer',
'bank_name' => 'Bank Central Asia',
'account_number' => '1234567890',
'account_name' => 'John Doe',
'notes' => 'Royalty payment for Q2 2023 streaming revenue.',
'platform_breakdown' => [
['platform' => 'Spotify', 'streams' => 125000, 'amount' => 1750000],
['platform' => 'Apple Music', 'streams' => 75000, 'amount' => 1050000],
['platform' => 'YouTube Music', 'streams' => 35789, 'amount' => 500000],
['platform' => 'Others', 'streams' => 10000, 'amount' => 200000],
],
];
@endphp
@endsection
@section('scripts')
@endsection