Skip to content

Commit

Permalink
add discount function and search
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Sep 17, 2024
1 parent a90cd91 commit c9a5236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/POS/AttendeeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function show(string $attendeeId, Request $request): Response
'transactions' => $user->wallet->transactions()->where('amount', '<', 0)->orWhere('amount', '>', 0)->limit(50)->get(),
'fursuits' => $badges->map(function ($badge) {
return $badge->fursuit;
})->unique('fursuit'),
}),
'checkouts' => Checkout::whereBelongsTo($user)->with('items')->get()->all(),
]);
}
Expand Down

0 comments on commit c9a5236

Please sign in to comment.