Actualizacuion de Rama Kquiroz

This commit is contained in:
ellecio2
2023-09-04 19:53:37 -04:00
parent d2e9ba53ab
commit 2e99d7b290
2206 changed files with 100145 additions and 467275 deletions

View File

@@ -14,15 +14,12 @@ class IsUser
* @param \Closure $next
* @return mixed
*/
//AQUI AGREGO LOS DIFERENTES TIPOS DE USUARIOS
public function handle($request, Closure $next)
{
if (Auth::check() &&
(Auth::user()->user_type == 'customer' ||
Auth::user()->user_type == 'seller' ||
Auth::user()->user_type == 'delivery_boy'||
Auth::user()->user_type == 'repair') ) {
Auth::user()->user_type == 'delivery_boy') ) {
return $next($request);
}