@openimis/fe-payment_cycle

1.0.1 • Public • Published

openIMIS Frontend Payment Cycle module

This repository holds the files of the openIMIS Frontend Payment Cycle module. It is dedicated to be bootstrap development of openimis-fe_js modules, providing an empty (yet deployable) module.

Please refer to openimis-fe_js to see how to build and deploy (in developement or server mode).

The module is built with rollup. In development mode, you can use npm link and npm start to continuously scan for changes and automatically update your development server.

License: AGPL v3 Total alerts

Main Menu Contributions

  • Payments (invoice.mainMenu translation key)

Payment Cycles (route: /paymentCycles) displayed if user has the right 200001

Other Contributions

  • core.Router: registering paymentCycles, paymentCycle, routes in openIMIS client-side router

Available Contribution Points

  • paymentCycle.TabPanel.label ability to extend Bill tab panel with a tab label
  • paymentCycle.TabPanel.panel ability to extend Bill tab panel with a panel displayed on click on an appropriate tab label

Dispatched Redux Actions

  • PAYMENT_CYCLE_PAYMENT_CYCLES_{REQ|RESP|ERR} fetching PaymentCycles (as triggered by the searcher)
  • PAYMENT_CYCLE_PAYMENT_CYCLE_{REQ|RESP|ERR|CLEAR} fetching chosen PaymentCycle
  • PAYMENT_CYCLE_MUTATION_{REQ|ERR}, sending a mutation
  • PAYMENT_CYCLE_GENERATE_PAYMENT_CYCLE, mutation which generates payment cycle when user triggers the launcher using dedicated button
  • PAYMENT_CYCLE_PAYMENT_CYCLE_BILLS {REQ|RESP|ERR|CLEAR}, fetching Bills for particular Payment Cycle (triggered when user enters the detailed page of payment cycle)

Other Modules Listened Redux Actions

None

Other Modules Redux State Bindings

  • state.core.user, to access user info (rights,...)

Configurations Options

None

Readme

Keywords

none

Package Sidebar

Install

npm i @openimis/fe-payment_cycle

Weekly Downloads

2

Version

1.0.1

License

AGPL-3.0-only

Unpacked Size

327 kB

Total Files

7

Last publish

Collaborators

  • edarchis
  • delcroip
  • openimis.org
  • purusap