auditionadmin/resources/views/test.blade.php

32 lines
1.0 KiB
PHP

@php use App\Models\Audition;
use App\Models\Entry;use App\Models\School;
use App\Models\SchoolEmailDomain;
use App\Models\ScoreSheet;
use App\Models\ScoringGuide;
use App\Models\User;
use App\Settings;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Session;
@endphp
<x-layout.app>
<x-slot:page_title>Test Page</x-slot:page_title>
@php
dump(Auth::user()->scoreSheets->where('entry_id','=','997')->first()->subscores[6]['score']);
echo "-----";
dump(Auth::user()->scoresForEntry(997));
echo "-----";
dump(Auth::user()->scoresForEntry(997)[6]['score']);
echo "-----";
dump(Auth::user()->scoresForEntry(997)[7]['score']);
echo "-----";
dump(Auth::user()->scoresForEntry(997)[8]['score']);
echo "-----";
dump(Auth::user()->scoresForEntry(997)[9]['score']);
echo "-----";
dump(Auth::user()->scoresForEntry(997)[10]['score']);
@endphp
</x-layout.app>