@extends('layouts.app-admin') @section('title', 'Booking Artist Management') @section('content')

All Bookings

@php $statuses = ['Pending', 'Confirmed', 'Completed', 'Cancelled']; $artists = [ 'John Mayer', 'Taylor Swift', 'Ed Sheeran', 'Adele', 'Bruno Mars', 'Ariana Grande', 'Justin Bieber', 'Dua Lipa', 'The Weeknd', 'Billie Eilish', ]; $locations = [ 'Jakarta Convention Center', 'Bali International Convention Centre', 'ICE BSD City', 'Sentul International Convention Center', 'Gelora Bung Karno', 'Ancol Beach City', 'Trans Studio Bandung', 'Candi Borobudur', 'Prambanan Temple', 'Taman Mini Indonesia Indah', ]; $eventTypes = [ 'Music Festival', 'Corporate Event', 'Wedding', 'Birthday Party', 'Charity Concert', 'Product Launch', 'Award Show', 'University Event', 'New Year Celebration', 'Anniversary', ]; @endphp @for ($i = 1; $i <= 10; $i++) @php $randomDate = \Carbon\Carbon::now()->addDays(rand(1, 60))->format('M d, Y'); $randomStatus = $statuses[array_rand($statuses)]; $randomArtist = $artists[array_rand($artists)]; $randomLocation = $locations[array_rand($locations)]; $randomEvent = $eventTypes[array_rand($eventTypes)]; $randomFee = 'Rp ' . number_format(rand(10, 100) * 1000000, 0, ',', '.'); $statusClass = match ($randomStatus) { 'Pending' => 'bg-yellow', 'Confirmed' => 'bg-blue', 'Completed' => 'bg-green', 'Cancelled' => 'bg-red', default => 'bg-secondary', }; @endphp @endfor
ID Artist Event Name Event Date Location Status Fee Actions
BK-{{ 1000 + $i }} {{ $randomArtist }} {{ $randomEvent }} {{ date('Y') }} {{ $randomDate }} {{ $randomLocation }} {{ $randomStatus }} {{ $randomFee }}
@endsection