diff --git a/app/Models/Booking.php b/app/Models/Booking.php index 33c33341..be7b13ed 100644 --- a/app/Models/Booking.php +++ b/app/Models/Booking.php @@ -98,9 +98,9 @@ class Booking extends AbstractModel implements Documentable protected static function booted() { - if (auth()->user()->type === RoleTypes::USER) { - static::addGlobalScope(new CustomerBookingsScope); - } +// if (auth()->user()->type === RoleTypes::USER) { +// static::addGlobalScope(new CustomerBookingsScope); +// } } diff --git a/routes/web.php b/routes/web.php index 277cfb8f..2817c6fc 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,6 @@