diff --git a/resources/views/tabulation/status.blade.php b/resources/views/tabulation/status.blade.php index 8be7115..62fedea 100644 --- a/resources/views/tabulation/status.blade.php +++ b/resources/views/tabulation/status.blade.php @@ -1,6 +1,6 @@ Audition Status - + Auditions @@ -8,22 +8,42 @@ Audition - Scoring Status Scoring Complete + Seats Published @foreach($auditions as $audition) - - - {{ $audition->name }} - - {{ $audition->scored_entries_count }} / {{ $audition->entries_count }} Scored - - @if( $audition->scored_entries_count == $audition->entries_count) - - @endif - + @php + if($audition->entries_count > 0) { + $percent = round(($audition->scored_entries_count / $audition->entries_count) * 100); + + } + @endphp + + + + + {{-- {{ $audition->scored_entries_count }} / {{ $audition->entries_count }} Scored--}} +
+ {{ $audition->name }} + {{ $audition->scored_entries_count }} / {{ $audition->entries_count }} Scored +
+
+
+
+
+
+ + @if( $audition->scored_entries_count == $audition->entries_count) + + @endif + + + @if( $audition->hasFlag('seats_published')) + + @endif + @endforeach