close #2799 Fixed: Company delete can not delete sub categories
This commit is contained in:
		
							
								
								
									
										20
									
								
								app/Events/Setting/CategoryDeleting.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								app/Events/Setting/CategoryDeleting.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace App\Events\Setting;
 | 
			
		||||
 | 
			
		||||
use App\Abstracts\Event;
 | 
			
		||||
 | 
			
		||||
class CategoryDeleting extends Event
 | 
			
		||||
{
 | 
			
		||||
    public $category;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create a new event instance.
 | 
			
		||||
     *
 | 
			
		||||
     * @param $category
 | 
			
		||||
     */
 | 
			
		||||
    public function __construct($category)
 | 
			
		||||
    {
 | 
			
		||||
        $this->category = $category;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user