Rewrite tabulation #14
|
|
@ -18,3 +18,5 @@ yarn-error.log
|
|||
/.fleet
|
||||
/.idea
|
||||
/.vscode
|
||||
/app/Http/Controllers/TestController.php
|
||||
/resources/views/test.blade.php
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Actions\Tabulation\CalculateEntryScore;
|
||||
use App\Actions\Tabulation\RankAuditionEntries;
|
||||
|
||||
class TestController extends Controller
|
||||
{
|
||||
protected RankAuditionEntries $rankomatic;
|
||||
|
||||
public function __construct(RankAuditionEntries $rankomatic)
|
||||
{
|
||||
$this->rankomatic = $rankomatic;
|
||||
}
|
||||
|
||||
public function flashTest()
|
||||
{
|
||||
dd($this->rankomatic->booo());
|
||||
return view('test');
|
||||
}
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
@php use App\Enums\AuditionFlags;use App\Models\Audition;use App\Models\AuditionFlag;use App\Models\Entry;use App\Models\Event;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 - {{ $bam ?? '' }}</x-slot:page_title>
|
||||
|
||||
@foreach(Event::first()->entries->groupBy('student_id') as $student)
|
||||
Name: {{ $student[0]->student->full_name() }} <br>
|
||||
Entry Count: {{ $student->count() }}<hr>
|
||||
@endforeach
|
||||
</x-layout.app>
|
||||
Loading…
Reference in New Issue