This repository holds the files of the openIMIS Frontend Invoice reference module. It is dedicated to be deployed as a module of openimis-fe_js.
-
Legal and Finance (invoice.mainMenu translation key)
Invoices (invoice.menu.invoices key), displayed if user has the right
155101
Bills (invoice.menu.bills key), displayed if user has the right
156101
core.Router
: registeringinvoices
,invoice
,bills
,bill
routes in openIMIS client-side router
invoice.SubjectAndThirdpartyPicker
used to provide pickers for both Invoice/Bill Subject and Invoice/Bill Thirdparty; required structure:[ { type: <subject/thirdparty type name: string>, picker: <subject/thirdparty picker: picker component>, pickerProjection: <subject/thirdparty picker projection: Array<string>>, }, ... ]
invoice.TabPanel.label
ability to extend Invoice tab panel with a tab labelinvoice.TabPanel.panel
ability to extend Invoice tab panel with a panel displayed on click on an appropriate tab labelbill.TabPanel.label
ability to extend Bill tab panel with a tab labelbill.TabPanel.panel
ability to extend Bill tab panel with a panel displayed on click on an appropriate tab label
invoice.InvoiceStatusPicker
picker for Invoice Statusinvoice.SubjectTypePickerBill
picker for bill Subject Typeinvoice.ThirdPartyTypePickerBill
picker for bill Subject Typebill.util.getSubjectAndThirdpartyTypePicker
util function for getting subject and thirdparty type picker
INVOICE_INVOICES_{REQ|RESP|ERR}
fetching Invoices (as triggered by the searcher)INVOICE_INVOICE_{REQ|RESP|ERR}
fetching InvoiceINVOICE_INVOICE_LINE_ITEMS_{REQ|RESP|ERR}
fetching Invoice Line Items (as triggered by the searcher)INVOICE_INVOICE_PAYMENTS_{REQ|RESP|ERR}
fetching Invoice Payments (as triggered by the searcher)INVOICE_INVOICE_EVENTS_{REQ|RESP|ERR}
fetching Invoice Events (as triggered by the searcher)INVOICE_MUTATION_{REQ|ERR}
, sending a mutationINVOICE_DELETE_INVOICE_RESP
receiving a result of delete Invoice mutationINVOICE_CREATE_INVOICE_PAYMENT_RESP
receiving a result of create Invoice Payment mutationINVOICE_UPDATE_INVOICE_PAYMENT_RESP
receiving a result of update Invoice Payment mutationINVOICE_DELETE_INVOICE_PAYMENT_RESP
receiving a result of delete Invoice Payment mutationINVOICE_CREATE_INVOICE_EVENT_MESSAGE_RESP
receiving a result of create Invoice Event Message mutationSEARCH_BILLS_{REQ|RESP|ERR}
fetching Bills (as triggered by the searcher)BILL_BILL_{REQ|RESP|ERR}
fetching BillBILL_BILL_LINE_ITEMS_{REQ|RESP|ERR}
fetching Bill Line Items (as triggered by the searcher)BILL_BILL_PAYMENTS_{REQ|RESP|ERR}
fetching Bill Payments (as triggered by the searcher)BILL_DELETE_BILL_RESP
receiving a result of delete Bill mutationBILL_CREATE_BILL_PAYMENT_RESP
receiving a result of create Bill Payment mutationBILL_UPDATE_BILL_PAYMENT_RESP
receiving a result of update Bill Payment mutationBILL_DELETE_BILL_PAYMENT_RESP
receiving a result of delete Bill Payment mutationBILL_BILL_EVENTS_{REQ|RESP|ERR}
fetching Bill Events (as triggered by the searcher)BILL_CREATE_BILL_EVENT_MESSAGE_RESP
receiving a result of create Bill Event Message mutation
None
state.core.user
, to access user info (rights,...)
App.economicUnitConfig
: This configuration option determines whether the Bill page should be filtered based on the selected Economic Unit. When set to true, the Bill page will display data only for the chosen Economic Unit, ensuring that users view information specific to their assigned unit. If set to false (the default setting), the Bill page will not be filtered by any Economic Unit, and users can view all available data regardless of their unit association.