26 lines
822 B
PHP
26 lines
822 B
PHP
@php use App\Enums\AuditionFlags;use App\Models\Audition;use App\Models\AuditionFlag;use App\Models\Entry;use App\Models\User; @endphp
|
|
@php @endphp
|
|
@inject('scoreservice','App\Services\ScoreService');
|
|
@inject('auditionService','App\Services\AuditionService');
|
|
@inject('entryService','App\Services\EntryService')
|
|
@inject('seatingService','App\Services\SeatingService')
|
|
@inject('drawService', 'App\Services\DrawService')
|
|
<x-layout.app>
|
|
<x-slot:page_title>Test Page</x-slot:page_title>
|
|
@php
|
|
$entry = Entry::find(1127);
|
|
$judge = User::find(65);
|
|
$scoreArray = [
|
|
1 => 50,
|
|
2 => 60,
|
|
3 => 70,
|
|
4 => 80,
|
|
5 => 90,
|
|
];
|
|
enterScore($judge, $entry, $scoreArray);
|
|
dump($entry->audition->name);
|
|
@endphp
|
|
|
|
|
|
</x-layout.app>
|