app/Http/Requests/PlanRequest.php
/**
	 * Get the validation rules that apply to the request.
	 *
	 * @return array
	 */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
	{
		return [
			'nombre'              => 'required', 
			'renta'               => 'required', 
			'minutos_incluidos'   => 'required', 
			'minutos_indistintos' => 'required',
			'minutos_compania'	  => 'required', 
			'sms'                 => 'required',
			'sms_compania' 		  => 'required',
			'sms_indistintos'     => 'required',  
			'internet'            => 'required',
			'numeros_frecuentes'  => 'required',
			'compania'            => 'required', 
			'controlado'          => 'required'
		];
	}
public function rules ( ) { return [ 'nombre' => 'required' , 'renta' => 'required' , 'minutos_incluidos' => 'required' , 'minutos_indistintos' => 'required' , 'minutos_compania' => 'required' , 'sms' => 'required' , 'sms_compania' => 'required' , 'sms_indistintos' => 'required' , 'internet' => 'required' , 'numeros_frecuentes' => 'required' , 'compania' => 'required' , 'controlado' => 'required' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .