@openimis/fe-contract
v1.5.2
Published
openIMIS Frontend Contract module
Downloads
117
Keywords
Readme
openIMIS Frontend Contract module
This repository holds the files of the openIMIS Frontend Contract reference module. It is dedicated to be deployed as a module of openimis-fe_js.
Main Menu Contributions
None
Other Contributions
core.Router
: registeringcontracts
,contracts/contract
route in openIMIS client-side routerinvoice.MainMenu
:Contracts (
menu.contracts
translation key)invoice.SubjectAndThirdpartyPicker
: providing Contract picker for Invoice module
Available Contribution Points
contract.TabPanel.label
ability to extend Contract tab panel with a labelcontract.TabPanel.panel
ability to extend Contract tab panel with a panel displayed on click on an appropriate labelcontract.ContractDetails.calculation
placeholder forCalculation
module contributions
Published Components
contract.ContractPicker
, picker for Contractcontract.ContractStatePicker
, picker for Contract State
Dispatched Redux Actions
CONTRACT_CONTRACTS_{REQ|RESP|ERR}
, fetching Contracts (as triggered by the searcher)CONTRACT_CONTRACT_{REQ|RESP|ERR}
, fetching ContractCONTRACT_CONTRACTDETAILS_{REQ|RESP|ERR}
, fetching Contract Details (as triggered by the searcher)CONTRACT_MUTATION_{REQ|ERR}
, sending a mutationCONTRACT_CREATE_CONTRACT_RESP
, receiving a result of create Contract mutationCONTRACT_UPDATE_CONTRACT_RESP
, receiving a result of update Contract mutationCONTRACT_DELETE_CONTRACT_RESP
, receiving a result of delete Contract mutationCONTRACT_SUBMIT_CONTRACT_RESP
, receiving a result of submit Contract mutationCONTRACT_APPROVE_CONTRACT_RESP
, receiving a result of approve Contract mutationCONTRACT_APPROVE_CONTRACT_BULK_RESP
, receiving a result of approve Contract bulk mutationCONTRACT_COUNTER_CONTRACT_RESP
, receiving a result of counter Contract mutationCONTRACT_COUNTER_CONTRACT_BULK_RESP
, receiving a result of counter Contract bulk mutationCONTRACT_AMEND_CONTRACT_RESP
, receiving a result of amend Contract mutationCONTRACT_CREATE_CONTRACTDETAILS_RESP
, receiving a result of create Contract Details mutationCONTRACT_UPDATE_CONTRACTDETAILS_RESP
, receiving a result of update Contract Details mutationCONTRACT_DELETE_CONTRACTDETAILS_RESP
, receiving a result of delete Contract Details mutation
Other Modules Listened Redux Actions
None
Other Modules Redux State Bindings
state.core.user
, to access user info (rights,...)state.policyHolder
, to retrieve Policy Holders and Policy Holder Insurees for their respective pickers
Configurations Options
contractForm.updatable
: list of states of an updatable Contract (Default: [1,2,11])contractForm.approvable
: list of states of an approvable Contract (Default: [4])contractFilter.contractStateOptions
: options for ContractStatePicker component (Default:[{ "value": "1", "label": { "fr": "Demande d'information", "en": "Request for information" } }, { "value": "2", "label": { "fr": "Brouillon", "en": "Draft" } }, { "value": "3", "label": { "fr": "Offre", "en": "Offer" } }, { "value": "4", "label": { "fr": "En negociation", "en": "Negotiable" } }, { "value": "5", "label": { "fr": "Apprové", "en": "Executable" } }, { "value": "6", "label": { "fr": "Addendum", "en": "Addendum" } }, { "value": "7", "label": { "fr": "En cours", "en": "Effective" } }, { "value": "8", "label": { "fr": "Appliqué", "en": "Executed" } }, { "value": "9", "label": { "fr": "Suspendu", "en": "Disputed" } }, { "value": "10", "label": { "fr": "Terminé", "en": "Terminated" } }, { "value": "11", "label": { "fr": "Révision demandé", "en": "Counter" } }]
)