protected function getRole($user)
 {
     $result = DetalleUsuario::join('roles', function ($join) {
         $join->on('detalle_usuario.id_rol', '=', 'roles.id_rol');
     })->where('detalle_usuario.id', $user->id)->get(['roles.abbr']);
     $rolkind = '';
     foreach ($result as $rol) {
         $rolkind = $rol->abbr;
         break;
     }
     return $rolkind;
 }