Coder Social home page Coder Social logo

hypothetical-meals's Introduction

hypothetical-meals's People

Contributors

zhou-l-c avatar

Watchers

 avatar  avatar  avatar  avatar

hypothetical-meals's Issues

user change permission api

Input param: user_id, new_permission('admin', 'manager', 'noob')
Return status
requires admin permission

Production page

Requirement 7.2

  • show formulas on page
  • manager select formula and specifies quantity of formula to produce -> also must get inventory to show current quantities of ingredients before committing to production -> 7.2.3 ( the manager should
    be prompted with the option to automatically add to the ordering cart the difference
    between required ingredients and current stock)

Ingredient size

Change description of ingredient size to something like num native units/package.

Updated Ingredient api

If an ingredient is listed in an existing formula, return error and abort the removal

Produce Formulas

Change so only one formula can be produced at a time and make sure there isn't a stupid bug this time

Misc UI stuff

  • Allow vendors ingredients add on ingredient page
  • Drop down/search for vendor code
  • Some text issue with new formula unique name field on firefox, fix it
  • Better selector for formula, not the tile stuff, probably want a table or something
  • Add quantity on order page not just within cart
  • Order page should be more descriptive about cost/package or something at vendor selection page
  • Error message on storage page still refers to weight, change it to square ft

8. Systemlog api

post and get
GET systemlogs?user_id=shit&ingredient_id=shit&from_date=shit&to_date=shit
All query params are optional
maybe with pagination

order/log api

  • log the order in log table
  • check that the new quantities fit in the storages
  • update the quantities in inventory
  • update the total weights for the ingredients in the spendinglog table (add a total_weight column), the original total is the total cost

Users Table

Show table of users and use that to pick user to change permissions.

7.2.3 Ordering calculation from production page

  • the manager should be prompted with the option to automatically add to the ordering cart the difference
    between required ingredients and current stock
  • Allow order to use difference to order packages required of each ingredient

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.