added customer scopes to user model
This commit is contained in:
		@@ -39,7 +39,7 @@ class CreateDocumentTransaction
 | 
			
		||||
                return $this->getResponse('signed.' . $type . '.show', $document, $message);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if ($user->can('read-client-portal')) {
 | 
			
		||||
            if ($user->isCustomer()) {
 | 
			
		||||
                flash($message)->error()->important();
 | 
			
		||||
 | 
			
		||||
                return $this->getResponse('portal.' . $type . '.show', $document, $message);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user