npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@openimis/fe-invoice

v1.7.0

Published

openIMIS Frontend Invoice module

Downloads

104

Readme

openIMIS Frontend Invoice reference module

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.

License: AGPL v3

Main Menu Contributions

  • 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

Other Contributions

  • core.Router: registering invoices, invoice, bills, bill routes in openIMIS client-side router

Available Contribution Points

  • 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 label
  • invoice.TabPanel.panel ability to extend Invoice tab panel with a panel displayed on click on an appropriate tab label
  • bill.TabPanel.label ability to extend Bill tab panel with a tab label
  • bill.TabPanel.panel ability to extend Bill tab panel with a panel displayed on click on an appropriate tab label

Published Components

  • invoice.InvoiceStatusPicker picker for Invoice Status
  • invoice.SubjectTypePickerBill picker for bill Subject Type
  • invoice.ThirdPartyTypePickerBill picker for bill Subject Type
  • bill.util.getSubjectAndThirdpartyTypePicker util function for getting subject and thirdparty type picker

Dispatched Redux Actions

  • INVOICE_INVOICES_{REQ|RESP|ERR} fetching Invoices (as triggered by the searcher)
  • INVOICE_INVOICE_{REQ|RESP|ERR} fetching Invoice
  • INVOICE_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 mutation
  • INVOICE_DELETE_INVOICE_RESP receiving a result of delete Invoice mutation
  • INVOICE_CREATE_INVOICE_PAYMENT_RESP receiving a result of create Invoice Payment mutation
  • INVOICE_UPDATE_INVOICE_PAYMENT_RESP receiving a result of update Invoice Payment mutation
  • INVOICE_DELETE_INVOICE_PAYMENT_RESP receiving a result of delete Invoice Payment mutation
  • INVOICE_CREATE_INVOICE_EVENT_MESSAGE_RESP receiving a result of create Invoice Event Message mutation
  • SEARCH_BILLS_{REQ|RESP|ERR} fetching Bills (as triggered by the searcher)
  • BILL_BILL_{REQ|RESP|ERR} fetching Bill
  • BILL_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 mutation
  • BILL_CREATE_BILL_PAYMENT_RESP receiving a result of create Bill Payment mutation
  • BILL_UPDATE_BILL_PAYMENT_RESP receiving a result of update Bill Payment mutation
  • BILL_DELETE_BILL_PAYMENT_RESP receiving a result of delete Bill Payment mutation
  • BILL_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

Other Modules Listened Redux Actions

None

Other Modules Redux State Bindings

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

Configurations Options

  • 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.