mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-28 03:13:26 -04:00 
			
		
		
		
	* Migration: Option to select the migration type * Migration: Logic for redirecting based on steps * Work for migrations: - Added authentication view, service - Account connecting - Scaffold services - Companies service - (wip) Sending data to v2 * Migration: Sending migration file * Wrap up the migration first stage * Split company per request / no bundle Co-authored-by: David Bomba <turbo124@gmail.com>
		
			
				
	
	
		
			31 lines
		
	
	
		
			522 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			522 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Http\Requests;
 | |
| 
 | |
| use Illuminate\Foundation\Http\FormRequest;
 | |
| 
 | |
| class MigrationCompaniesRequest extends FormRequest
 | |
| {
 | |
|     /**
 | |
|      * Determine if the user is authorized to make this request.
 | |
|      *
 | |
|      * @return bool
 | |
|      */
 | |
|     public function authorize()
 | |
|     {
 | |
|         return true;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Get the validation rules that apply to the request.
 | |
|      *
 | |
|      * @return array
 | |
|      */
 | |
|     public function rules()
 | |
|     {
 | |
|         return [
 | |
|             'companies' => 'required',
 | |
|         ];
 | |
|     }
 | |
| }
 |