Coder Social home page Coder Social logo

uplandsdynamic / simple-stock-management Goto Github PK

View Code? Open in Web Editor NEW
121.0 12.0 74.0 8.19 MB

Server component of the Simple Stock Management stock & inventory web app. Designed for small businesses & non-profits.

License: GNU General Public License v3.0

Python 100.00%
stock-management-system stock-management react python3 stock-inventory small-business charity non-profit retail retail-data

simple-stock-management's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-stock-management's Issues

Unable to configure handler 'file'

hi Anistance
thanks for your system
but i got this eror Unable to configure handler 'file'
image

i think there some of directories not found

Add "Out of Stock" indicators in UI

  • "Lowlight" data table rows where the product line is out of stock (i.e. different font colour).
  • Change presentation of "0" stock to "Out of Stock".

Improve error message when request qty exceeds stock

When the request quantity exceeds the current remaining stock, this error message is currently displayed:

Ensure this value is greater than or equal to 0.

Amend this to display a dedicated and more accurate descriptive message for this case.

Implement full transaction log

Implement a full transaction log & expose it to end user administrators.

Useful for being able to retrospectively interrogate full details of stock transfer requests (dates, times, quantities etc) in the event notification emails are not delivered to the warehouse store admins, for whatever reason.

Add wait time between transfer submissions

  • Add a mandatory wait time of n seconds in between stock transfer requests, to prevent duplicate transfer requests being actioned in the event of web browser issues and double button clicks.

Batch transfer request emails

  • Rather than send an email every time to the admin user(s) every time a transfer is requested, batch requests and delivery in a single email.

Add store accounts

#Preliminary scope

Backend

Add database for each 'store manager' user. Change stock xfer process to add units to store database, rather than simply delete from warehouse database (as currently the case). Add a 'stocktake' process to calculate a report, as detailed below.

Database schema

Duplication of warehouse database schema, with exception of:

+ 'opening_stock' column
+ 'closing_stock' column
+ 'xfer_price' column (unit price of stock as xferred)
+ 'selling_price' column (current unit price of stock as sold in the shop)
- 'unit_price' column

Report generation

Recorded data

  • Opening stock (opening_stock as of datetime of last stocktake)
  • Closing stock (closing_stock as of datetime 'now' at current stocktake process)

Processed data

Values for each line

a) Differential for all sales & loss (opening_stock - closing_stock)
b) Xfer price value for all units lost or sold ((opening_stock - closing_stock) * xfer_price)
c) Selling price value for all units lost or sold ((opening_stock - closing_stock) * selling_price)
d) Differential between total xfer price & total selling price, for a line ( (c) - (b) ) *See note (1)

Values for total store

e) Total xfer price value of all stock lines sold or lost since last stocktake process (Σ(b))
f) Total selling price value of all stock lines sold or lost since last stocktake process (Σ(c))
g) Total differential for all stock lines, between xfer price & selling price (Σ(d)) *See note (1)

Database maintenance processes

  • Following completion of stocktake process, closing_stock data is copied to opening_stock, then emptied.

UI

Build a dedicated UI for store databases, to allow store managers to:

  • View their own store's stock holding record
  • Submit a stock count (closing_stock) & trigger the generation of stocktake reports

Notes

  1. Whilst the differential may be indicative of a store's sales performance, it cannot be considered "profit", because actual sales, shrinkage and loss (both known and unknown) are not recorded. Therefore, the differential is not synonymous with sales and profit in this model. It may merely suggest that, had the differential consisted entirely of sales at the selling price - with no units being subject to loss or shrinkage - the differential would have been representative of "store profit" under those improbable circumstances.

Fix pagination back & forward button error

Clicking on the 'back' and 'forward' pagination buttons (chevrons) results in "network error".

The pagination indicator on the UI correctly updates, however the actual data does not, with the table retaining the data of the original page.

Both of the other options for changing page (entering the new page number in the input field, or clicking on the new page number in on the numbers list) do work correctly.

Fix backspace issue on admin stock quantity input field

When an administrator attempts to edit the stock quantity field, they are unable to use 'backspace' to delete the existing entry entirely (the increment/decrement buttons do work, as does highlighting the existing quantity before over-typing).

Fix this to allow backspace to delete the existing quantity, as is the case on the manager's transfer form.

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.