diff options
author | Mateja <mail@matejamaric.com> | 2020-10-31 21:32:30 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-31 21:32:30 +0100 |
commit | f0b031769c30ef868b2ed0d8bbb666a785983e59 (patch) | |
tree | 91d3e7fa284d988ef86eb4a32ede6ba6a21ca0a9 /app/Http | |
parent | 2140f96e655d71c4f388ff102babd306bcaad218 (diff) | |
download | yota-laravel-f0b031769c30ef868b2ed0d8bbb666a785983e59.tar.gz yota-laravel-f0b031769c30ef868b2ed0d8bbb666a785983e59.zip |
Show approved reservations...
Diffstat (limited to 'app/Http')
-rw-r--r-- | app/Http/Controllers/SpecialCallsController.php | 2 |
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') |