diff --git a/app/Http/Controllers/EventCheckInController.php b/app/Http/Controllers/EventCheckInController.php
index 2cbcf94c..b2d4a5a6 100644
--- a/app/Http/Controllers/EventCheckInController.php
+++ b/app/Http/Controllers/EventCheckInController.php
@@ -19,7 +19,6 @@ class EventCheckInController extends MyBaseController
*/
public function showCheckIn($event_id)
{
-
$event = Event::scope()->findOrFail($event_id);
$data = [
@@ -59,8 +58,11 @@ class EventCheckInController extends MyBaseController
$query->where('attendees.event_id', '=', $event_id);
})->where(function ($query) use ($searchQuery) {
$query->orWhere('attendees.first_name', 'like', $searchQuery . '%')
- ->orWhere(DB::raw("CONCAT_WS(' ', attendees.first_name, attendees.last_name)"), 'like',
- $searchQuery . '%')
+ ->orWhere(
+ DB::raw("CONCAT_WS(' ', attendees.first_name, attendees.last_name)"),
+ 'like',
+ $searchQuery . '%'
+ )
//->orWhere('attendees.email', 'like', $searchQuery . '%')
->orWhere('orders.order_reference', 'like', $searchQuery . '%')
->orWhere('attendees.last_name', 'like', $searchQuery . '%');
@@ -165,19 +167,12 @@ class EventCheckInController extends MyBaseController
if ($relatedAttendesCount >= 1) {
$confirmOrderTicketsRoute = route('confirmCheckInOrderTickets', [$event->id, $attendee->order_id]);
-
- /*
- * @todo Incorporate this feature into the new design
- */
- //$appendedText = '