Merge Invoice and Bill into Document
This commit is contained in:
		
							
								
								
									
										20
									
								
								app/Events/Document/DocumentCreated.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								app/Events/Document/DocumentCreated.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace App\Events\Document;
 | 
			
		||||
 | 
			
		||||
use App\Abstracts\Event;
 | 
			
		||||
 | 
			
		||||
class DocumentCreated extends Event
 | 
			
		||||
{
 | 
			
		||||
    public $document;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create a new event instance.
 | 
			
		||||
     *
 | 
			
		||||
     * @param $document
 | 
			
		||||
     */
 | 
			
		||||
    public function __construct($document)
 | 
			
		||||
    {
 | 
			
		||||
        $this->document = $document;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user