From 7cf6539d36f0d7c40891862ac78f43f5f9d81e6f Mon Sep 17 00:00:00 2001 From: Matt Young Date: Fri, 21 Jun 2024 15:32:44 -0500 Subject: [PATCH] Hide doubler blocks for declined seats --- app/Services/TabulationService.php | 2 +- resources/views/components/doubler-block.blade.php | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/Services/TabulationService.php b/app/Services/TabulationService.php index 3c07fb7..a9edc6d 100644 --- a/app/Services/TabulationService.php +++ b/app/Services/TabulationService.php @@ -78,7 +78,7 @@ class TabulationService $entry->rank = $n; $n++; } else { - $entry->rank = 'declined'; + $entry->rank = $n . ' - declined'; } } $cache[$auditionId] = $entries->keyBy('id'); diff --git a/resources/views/components/doubler-block.blade.php b/resources/views/components/doubler-block.blade.php index 0194106..3657255 100644 --- a/resources/views/components/doubler-block.blade.php +++ b/resources/views/components/doubler-block.blade.php @@ -3,8 +3,9 @@