Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Same filter As payment, only an addtionnal filter that will be hidden to have only payment with payment details that are linked to PHCPD

Idea to make this additionnal filter within the payment module (i.e the payment tab could be a contribution from payment)

  1. Use json_ext

    1. When creating payment details, add a section “policyholder” in the json_ext of the payment, this section will have the UUID of the policyholder, add a section “contract” in the json_ext of the payment, this section will have the UUID of the contractholder

    2. the payment contribution tab (not sure it is a real contribution_fe, feel more like the tab will be called in PH fe, making it a dependency), will take as hidden parameter the json_ext filter that will be composed of : “nameOfTheToObject“ (policyholder if the tab is show in policyholder) and the UUID of the TOP object

  2. (PREFERED)implement “Dynamic“ parameter in the mutation

    1. adapt the payment payment mutation to be able take “dynamic“ filters (I hope this is possible), but don’t use it in the mutation BUT enable the “pre_mutation“ signals to add filters in the query set

    2. in PH be module, register a signal on the payment “pre_mutation“, check if there is a PH uuid on the mutation “dynamic“ params, if it is the case then add the filters to retrieve only payment with payment details that are linked to CPD link to PH contracts

    3. (Nice to have)in the contract be module, register a signal on the payment “pre_mutation“, check if there is a PH uuid on the mutation “dynamic“ params, if it is the case then add the filters to retrieve only payment with payment details that are linked to CPD

Link to other entities

  • place holder for other tab / link to search pages → those should be added by contribution_fe

    • 1 tab from the contract module

      • a simple pre-filtered for the contract search → select/double click will lead to contract pages (in the contract scope)

    • 1 tab form the payment module (should have):

      • a simple pre-filtered for the payment search → select/double click will lead to contribution pages (made by Bluesquare) TBD

    •  2 tab from the policy module (Nice to have):

      • a simple pre-filtered for the contribution search → select/double click will lead to contribution pages (made by Bluesquare) TBD

      • a simple pre-filtered for the policy search → select/double click will lead to contribution pages (made by Bluesquare) TBD

...