Skip to content

Commit

Permalink
Merge pull request #73 from openimis/custom-filter-fix
Browse files Browse the repository at this point in the history
hothix: add to picker projection benefitPlan
  • Loading branch information
jdolkowski authored Feb 12, 2024
2 parents 5188dd8 + ae44f58 commit 32dae5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const PAYMENTPLAN_FULL_PROJECTION = (modulesManager) => [
"isDeleted",
];

const PAYMENTPLAN_PICKER_PROJECTION = () => ["id", "code", "name"];
const PAYMENTPLAN_PICKER_PROJECTION = () => ["id", "code", "name", "benefitPlan"];

function dateTimeToDate(date) {
return date.split("T")[0];
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const DEFAULT_CONFIG = {
{ key: "contributionPlan.route.paymentPlans", ref: ROUTE_PAYMENT_PLANS },
{ key: "contributionPlan.route.paymentPlan", ref: ROUTE_PAYMENT_PLAN },
{ key: "contributionPlan.PaymentPlanPicker", ref: PaymentPlanPicker },
{ key: "contributionPlan.PaymentPlanPicker.projection", ref: ["id", "code", "name", "periodicity", "dateValidFrom", "dateValidTo", "isDeleted", "replacementUuid"] },
{ key: "contributionPlan.PaymentPlanPicker.projection", ref: ["id", "code", "name", "periodicity", "dateValidFrom", "dateValidTo", "isDeleted", "replacementUuid", "benefitPlan"] },
{ key: "contributionPlan.route.replacePaymentPlan", ref: ROUTE_PAYMENT_PLAN_REPLACE },
],
"core.Router": [
Expand Down

0 comments on commit 32dae5d

Please sign in to comment.