@alma/widgets 2.3.1 → 2.3.2

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.
@@ -14310,6 +14310,12 @@
14310
14310
  // Remove p1x
14311
14311
  var filteredEligibilityPlans = eligibilities.filter(function (plan) {
14312
14312
  return !(plan.installments_count === 1 && plan.deferred_days === 0 && plan.deferred_months === 0);
14313
+ }) // Keeps the plans that have a payment_plan property
14314
+ .filter(function (plan) {
14315
+ return plan.payment_plan;
14316
+ }) // Remove plans that have a reasons property
14317
+ .filter(function (plan) {
14318
+ return !plan.reasons;
14313
14319
  }); // If no configPlans was provided, return eligibility response
14314
14320
 
14315
14321
  if (!configPlans) {