mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 13:11:08 -04:00 
			
		
		
		
	fix customer request
This commit is contained in:
		| @ -119,7 +119,7 @@ class CustomerRequest extends FormRequest | ||||
|             $rules['email'] = [ | ||||
|                 'email', | ||||
|                 'nullable', | ||||
|                 Rule::unique('customers')->ignore($this->route('customer')->id), | ||||
|                 Rule::unique('customers')->where('company_id', $this->header('company'))->ignore($this->route('customer')->id), | ||||
|             ]; | ||||
|         }; | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user