Skip to content

Commit

Permalink
CM-766: fetch payment plans related do benefit plan in picker (#74)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan <j.dolkowski@soldevelo.com>
  • Loading branch information
jdolkowski and Jan authored Mar 11, 2024
1 parent 32dae5d commit ae9dbb8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pickers/PaymentPlanPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ae9dbb8

Please sign in to comment.