aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r--app/Http/Controllers/SpecialCallsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/SpecialCallsController.php b/app/Http/Controllers/SpecialCallsController.php
index 2f3282d..153e6b9 100644
--- a/app/Http/Controllers/SpecialCallsController.php
+++ b/app/Http/Controllers/SpecialCallsController.php
@@ -17,7 +17,7 @@ class SpecialCallsController extends Controller
{
public function activities(Request $request)
{
- $activities = Reservation::all();
+ $activities = Reservation::where('approved', '1')->get();
//$activities = Reservation::addSelect([
//'specialCall' => SpecialCall::select('sign')
////->whereColumn('reservations.specialCall', 'special_calls.id')