Code Monkey home page Code Monkey logo

02-journal's People

Contributors

agneym avatar amaljosea avatar dependabot[bot] avatar edwinbbu avatar farisshajahan avatar ittyjose avatar josephv7 avatar midhun-at-vineti avatar midhunkrishna avatar tachyons avatar tomahawk-pilot avatar unnitallman avatar vinay0x avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

muhsinzyne

02-journal's Issues

Cylinder detail - Admin panel

Clicking on a cylinder from #18 should open a modal or popover with complete details of the cylinder.

Last known locations and touch points and corresponding status.

Details:

  • Date & Time
  • Status
  • Station detail
  • Entry or Exit

To be listed in descending order

Supplier & Cylinder listing - API changes

  • Include number of cylinders currently added to the API for listing suppliers
  • Cylinder search API should work without the required parameter - for listing cylinders
  • Add supplier name to the API for cylinder search

View list of stations - Admin panel

Admin can view a list of stations.

All information entered on #13 can be viewed in a table interface.

Admin can search via name of the station (can be done on the client side) or locality.

Create station detail

For each station, create a detail page with:

  • Cylinders that are currently marked as entry to this station with their current status and capacity figures.

Create Station - Admin Panel

Admin should be able to create a filling station. This is on a page for listing filling stations, could be a modal interface.

The details of a filling station include:

  • Name
  • Address
  • Contact Phone number
  • District Body, Panchayat (dropdowns can be extracted from existing Merchant page on Journal)

User can scan a cylinder

User can use the camera to scan QR code on a cylinder.

The user can then mark status of the cylinder:

  • Filled
  • Empty
  • Partially filled.
  • Faulty

User can mark the current entry with following status:

  • Entry
  • Exit

While we can automatically regard which one this is, we do want it to jeopardise the system in case one cylinder is not scanned at touch point.

API needs to mark the time of entry, status and code of cylinder

View List of cylinders - Admin panel

Admin can view a list of all cylinders.

Details on the cylinder are as entered on #20

Extra detail include:

  • supplier name - (clicking leads to supplier detail - to be)
  • last location of the cylinder - (clicking on station name leads to station detail - to be).

List can be filtered by:

  • Supplier name
  • Status
  • Capacity
  • Type

Create individual cylinder page

Supplier page (#11) leads to page where user can add individual cylinders.

Each cylinder has following fields:

  • Serial number - free text field
  • Status: radio button - empty, partially filled, fully filled, faulty
  • Type: radio button - Industrial Oxygen, Medical Oxygen, Argon, Nitrogen
  • Capacity - radio button - D B C H

Group 19

Adding these cylinders leads to #12

Add an option to return a cylinder

When a cylinder is provided back to the supplier, the status should be changed to returned

On Admin panel, add an option in options dropdown named Return. On clicking this option, the status of cylinder should be changed to returned.

Design Methodology

Currently, the Merchant has parameters - Name, Mobile Number, Address, District, Local Body Type and Local Body. When this switches over to 0โ‚‚ cylinders, what are the changes you would like to see here?

Name = Serial number
Address = ?
District, Local Body = ?
Mobile Number = ?

User has params - Name, Mobile number, Date of Birth
When we switch it over to government officials, I'm assuming that you still need

Name = official name
Mobile number = official number (may be not, but this is how journal works.)
date of birth = ? (nah!)
Something to identify filling station = ?
Location of filling station = port over the district, local body fields from merchant?

Edit a station

Currently the station listing API returns only the lb_code.

To fill the options in stations form, we require district and local body type. These fields could also be send on create operation

QR codes for individual cylinders

Generate a PDF with QR codes for individual cylinders.

QR code contains the unique identification code of a O2 cylinder.

It also contains the identification code printed in plain text - in case it cannot be scanned, this ID can be noted.

This PDF should be downloaded from the API call on #20

Create Supplier page

This is page for cylinder supplier to generate unique QR codes for their cylinders.

It can be modelled after existing merchant page.

Fields:

  • Name of the supplier (This is a creatable select, where user can either select an existing supplier or add new supplier. The supplier name is unique)
  • Address - textarea
  • Contact Phone number - tel

Note: if user preselects a name, rest of the fields are autofilled.

This leads to an API call with these details - classic upsert. Follow up by #20

View list of suppliers - Admin panel

Admin should be able to view list of suppliers

Details as entered by admin in #11

Extra details: number of cylinders

Clicking on a supplier should take the admin to cylinders page filtered down by supplier.

Authenticate User

Journal uses a single flow for sign up and login. Assuming that the users will not have to go through this flow many a time.

This can be modelled after existing user form on Journal.

Details:

  • Name of the officer: free text field
  • Phone Number: tel
  • Filling Station: Select a filling station from the populated list

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.