iptdevs-design-system 3.1.889 → 3.1.890

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4970,10 +4970,11 @@ class CodFormStepFourComponent extends CodFormSteps {
4970
4970
  this.dataPrices = response.data;
4971
4971
  if (technicalCourses.includes(course_type)) {
4972
4972
  // Calculamos los paid_levels permitidos basado en el english_level
4973
- const maxPaidLevel = 14 - english_level + 1; // 14 es el nivel máximo (C1)
4974
- const allowedPaidLevels = Math.min(4, maxPaidLevel); // Máximo 4 niveles com
4973
+ const techEnglishLevels = [8, 9, 10, 11];
4974
+ const levelIndex = techEnglishLevels.indexOf(english_level);
4975
+ const levelsToShow = techEnglishLevels.length - levelIndex;
4975
4976
  this.dataPrices = this.dataPrices.filter((item) => {
4976
- item.paid_level <= allowedPaidLevels;
4977
+ return item.paid_level <= levelsToShow;
4977
4978
  });
4978
4979
  }
4979
4980
  this.feeResponse = false;