Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Create a basic billing module #2496

Open
@blestab

Description

@blestab

🚀 Feature Proposal

This issue is to create a very basic billing module. When this issue is finished, a user would expect to be able to:

  • create a new pricing item
  • view a list of all pricing items
  • view a single pricing item

Technical Notes

Model Name PricingItem defined as:

{
  id: string
  name: string
  price: number
  expenseTo: string
  category: imaging|lab|procedure|ward
  type: string
  notes: string
  createdAt: string
  createdBy: string
}
  • id, createdBy (logged on user), createdAt (datetime string of current date/time) should be auto-generated
  • For categories imaging and lab, if type is not specified then the display should show the category+ "Procedure" appended e.g. "Imaging Procedure" or "Lab Procedure"
  • There should be a text box which allows a user to search for pricing items
  • Add the ability to filter the search by category, including the ability to show all categories
  • The table of matching items should show the following fields:
    category, name, price, expense to
  • There should be a view button which takes us to a view screen
  • The view screen allows user to edit the following fields: name, category, type, price, expenseTo, notes
  • The view screen should have an "Update" button to save changes

Permissions

  • Add new set of permissions for viewing and adding billing items

Menu / Sidebar

  • Add a sidebar link named Billing above the Incidents link
  • Underneath the Billing sidebar menu, add the following options:
    • "Add Pricing Item" => takes use to a form to create a new pricing item
    • "Pricing Items" => takes user to a listing of all pricing items
  • Add "Add Pricing Item" to quick create button in the Navbar as the last item

Metadata

Metadata

Assignees

Labels

LOE - largeindicates that the level of effort to complete issue is largebillingin progressindicates that issue/pull request is currently being worked on🚀enhancementan issue/pull request that adds a feature to the application

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions