Express Pos - Firebase
Express Pos - Firebase
Express Pos - Firebase
Abstract: This will be a POS (Point Of Sale) application that manages a single shop. For this application
will be used IONIC/Angular - Firebase. Application should be available to work also offline (Enable
offline persistence on firebase) In this document you will find requirements to release this application.
Functional Requirements:
1. IDM
2. Products
3. Orders
4. Cashier
5. Reports
6. File System
7. Notifications
8. Purchases
Based on the role we are going to render sections on the app. Admin can have access to all sections.
But we need the ability to create roles dynamically where we can attach permissions to new roles. And a
role can be attached to a user.
Products
Unit will be another table where user is available to add units. But when we register a stock we have to
make conversion of units.
Example:
So a coca cola box has 6 pcs. A product can have only one active inventory.
We should be available also to edit invoices only to remove products or to cancel them.
Cashier
Cashier is a person who sells and works with shifts.
When a cashier login in for first time each day we have to save:
1. First Time Login
2. Initial Cash State
3. Final Cash State (When close shift)
4. Time when shift is closed
Also we have to track when the cashier withdrawals or deposits money and actual cash state will be added
or subtracted.
Reports
We need basic reports of sales and purchases within a time range. (Only Admin)
1. Table view (should be available to be exported in excel)
2. Chart view
File system
Will be a section which will read from another endpoint (To be defined). We will provide a mock
response for this. (Only Admin)
Notifications
Will be a section where the admin will receive notifications and read them.
Purchases
Purchase invoice is the same as the sale invoice. Will be a section where the admin can register a purchase
invoice and from here quantity of products will be updated. When registering this invoice product field
should be available to be scanned with barcode.
Ex:
Date 22-05-2021
So when we register this invoice 6 coca cola boxes should be converted to 36 pcs and update product
active stock.