fe-contract 1.5.1
Install from the command line:
Learn more about npm packages
$ npm install @openimis/fe-contract@1.5.1
Install via package.json:
"@openimis/fe-contract": "1.5.1"
About this version
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.
None
-
core.Router
: registeringcontracts
,contracts/contract
route in openIMIS client-side router -
invoice.MainMenu
:Contracts (
menu.contracts
translation key) -
invoice.SubjectAndThirdpartyPicker
: providing Contract picker for Invoice module
-
contract.TabPanel.label
ability to extend Contract tab panel with a label -
contract.TabPanel.panel
ability to extend Contract tab panel with a panel displayed on click on an appropriate label -
contract.ContractDetails.calculation
placeholder forCalculation
module contributions
-
contract.ContractPicker
, picker for Contract -
contract.ContractStatePicker
, picker for Contract State
-
CONTRACT_CONTRACTS_{REQ|RESP|ERR}
, fetching Contracts (as triggered by the searcher) -
CONTRACT_CONTRACT_{REQ|RESP|ERR}
, fetching Contract -
CONTRACT_CONTRACTDETAILS_{REQ|RESP|ERR}
, fetching Contract Details (as triggered by the searcher) -
CONTRACT_MUTATION_{REQ|ERR}
, sending a mutation -
CONTRACT_CREATE_CONTRACT_RESP
, receiving a result of create Contract mutation -
CONTRACT_UPDATE_CONTRACT_RESP
, receiving a result of update Contract mutation -
CONTRACT_DELETE_CONTRACT_RESP
, receiving a result of delete Contract mutation -
CONTRACT_SUBMIT_CONTRACT_RESP
, receiving a result of submit Contract mutation -
CONTRACT_APPROVE_CONTRACT_RESP
, receiving a result of approve Contract mutation -
CONTRACT_APPROVE_CONTRACT_BULK_RESP
, receiving a result of approve Contract bulk mutation -
CONTRACT_COUNTER_CONTRACT_RESP
, receiving a result of counter Contract mutation -
CONTRACT_COUNTER_CONTRACT_BULK_RESP
, receiving a result of counter Contract bulk mutation -
CONTRACT_AMEND_CONTRACT_RESP
, receiving a result of amend Contract mutation -
CONTRACT_CREATE_CONTRACTDETAILS_RESP
, receiving a result of create Contract Details mutation -
CONTRACT_UPDATE_CONTRACTDETAILS_RESP
, receiving a result of update Contract Details mutation -
CONTRACT_DELETE_CONTRACTDETAILS_RESP
, receiving a result of delete Contract Details mutation
None
-
state.core.user
, to access user info (rights,...) -
state.policyHolder
, to retrieve Policy Holders and Policy Holder Insurees for their respective pickers
-
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" } }]
)