1public function rules()
2 {
3 return [
4 'reclamo_procede' => 'max:1',
5 'solucion_minutos' => 'required_if:reclamo_procede,==,si',
6 ];
7 }
1 $request->validate([
2 'daily_movement_id'=>'required_with:daily_movement',
3 'daily_movement'=>'required_with:daily_movement_id',
4 ]);
5//////////////////////////////////////////////////////
6 $request->validate([
7 'daily_movement_id'=>'required_without:daily_movement',
8 'daily_movement'=>'required_without:daily_movement_id',
9 ]);