From b52eea739a2549f7d5889db6ddf60278ca5cc545 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 10 Mar 2024 22:46:35 +0100 Subject: [PATCH] CM-766: fetch payment plans related do benefit plan in picker --- src/pickers/PaymentPlanPicker.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pickers/PaymentPlanPicker.js b/src/pickers/PaymentPlanPicker.js index 150bf87..ae63868 100644 --- a/src/pickers/PaymentPlanPicker.js +++ b/src/pickers/PaymentPlanPicker.js @@ -10,12 +10,15 @@ class PaymentPlanPicker extends Component { } queryParams = () => { - const { periodicity, withDeleted = false } = this.props; + const { periodicity, benefitPlanId, withDeleted = false } = this.props; let params = []; params.push(`isDeleted: ${withDeleted}`); if (!!periodicity) { params.push(`periodicity: ${periodicity}`); } + if (!!benefitPlanId) { + params.push(`benefitPlanId: "${benefitPlanId}"`); + } return params; }