mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 07:27:32 -05:00 
			
		
		
		
	Merge branch 'master' of github.com:invoiceninja/invoiceninja
This commit is contained in:
		
						commit
						d8a0462e1b
					
				@ -1168,6 +1168,11 @@ trait GenerateMigrationResources
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        foreach ($tasks as $task)
 | 
					        foreach ($tasks as $task)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            if(!($task->deleted_at instanceof Carbon))
 | 
				
			||||||
 | 
					                $task->deleted_at = Carbon::parse($task->deleted_at);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $transformed[] = [
 | 
					            $transformed[] = [
 | 
				
			||||||
                'id' => $task->id,
 | 
					                'id' => $task->id,
 | 
				
			||||||
                'company_id' => $this->account->id,
 | 
					                'company_id' => $this->account->id,
 | 
				
			||||||
@ -1204,6 +1209,10 @@ trait GenerateMigrationResources
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        foreach ($projects as $project)
 | 
					        foreach ($projects as $project)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            if(!($project->deleted_at instanceof Carbon))
 | 
				
			||||||
 | 
					                $project->deleted_at = Carbon::parse($project->deleted_at);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $transformed[] = [
 | 
					            $transformed[] = [
 | 
				
			||||||
                'id' => $project->id,
 | 
					                'id' => $project->id,
 | 
				
			||||||
                'company_id' => $this->account->id,
 | 
					                'company_id' => $this->account->id,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user