From f0b031769c30ef868b2ed0d8bbb666a785983e59 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 31 Oct 2020 21:32:30 +0100 Subject: Show approved reservations... --- app/Http/Controllers/SpecialCallsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Http/Controllers/SpecialCallsController.php') 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') -- cgit v1.2.3