brummett / couchstore Goto Github PK
View Code? Open in Web Editor NEWA CouchDB app for managing a small business store
A CouchDB app for managing a small business store
It should show non-obsolete items with 0 or less in inventory.
It should show items part of unshipped orders where there isn't enough to fill the order
It should show items where the current inventory count is less than how many were sold in the last month.
It should show items where the current inventory count is less than sold in the same month last year
Move the tests up to the same level as "manager" and add more tests. Since changing to use update() handlers it should be more testable
When editing a shipment, the item count gets changed for items that get manipulated in the form. For items you don't touch, even if they're in the "shipping items" table, they do not appear in the order doc after submitting the form
That way you can see it even if you're scrolled down to the bottom of the page
The old system could import new order reports and generate reports for confirmed orders
"Date" needs to be filled it
Rename "Number" to "order number"
The other forms should do this too
It should show a list of items sorted by how many were sold (descending - most popular on top) during some time period.
Also include a drop-down box to select order sources like "Amazon", "walk-in", etc, or "All"
that is all
For shipments with no tracking number - so the user can confirm the shipment there
The attached camera should be able to scan barcodes in the order widget
For all the ajax()y requests (list, show, view, etc), have a common error handler to show notifications to the user that can correctly parse the JSON response that validate_doc_update() and others return.
For example, instead of showing "Error: Forbidden" when submitting a change when they're not logged in, the should see "Error: You must be logged in to make changes"
under the Carrier drop-down.
Show it on the shipment summary report.
Started after the switch to update() handlers for most DB alterations.
We'll need to change throw() in the update handlers to instead return a data structure like this:
{ code: 403,
json: { reason: "Broke!", message: "On fire!" }
}
Then the error callback can get ahold of it
shows/shipment.js does this already
cost/prices should be validated in general for all forms.
Inventory->Show partial inventories
The item names in the proposed corrections list should be links that bring up the item history report for that item
Include what's packed in this shipment, what's backordered and what was in prior shipments
Looks like it's always adding quantities - Sale orders should subtract quantities to keep things balanced
They're already sorted by date. Make the search key [ date, source] instead of just date
When the user has been idle, couchDB logs the user out, but the UI doesn't indicate that
After adding 30 or 40 sold items, all views start failing during reindexing with the above error.
Seems the reduce for the popular items views (item-count-by-selldate and item-count-by-ordersource-selldate) keeps growing the result object, even though each pass through does reduce to a single value.
The "Order Number" should be a clickable ling to bring up a modal showing the shipment details including packed items, date, carrier, tracking number, etc
Make a program to import item data from the old system (https://github.com/amb43790/SimpleInventory)
Investigate importing customer and order data, too
Either the "make a shipment" or "confirm shipment" pages should have an additional input for "Reference number".
For example, when sending shipments to Amazon, they have an identifier they use while waiting for the shipment.
Set a page title that includes the date range. When saving to PDF, the file name will default to the page title
The cancel button should go to the home page
When there aren't any partial inventories, it should say something so you don't think your counts are all way off
Instead of having a sammy handler for handling form POSTs that do a POST or PUT to the databases's update() handler, have the forms submit right to the update handler. Then the update handler would have to redirect to the proper next page
You get an error message: Conflict
Started after the switch to update() handlers for most DB alterations.
We'll need to change throw() in the update handlers to instead return a data structure like this:
{ code: 403,
json: { reason: "Broke!", message: "On fire!" }
}
Then the error callback can get ahold of it
shows/shipment.js does this already
Allow the user to upload pictures of items, and show those pictures in the item lister and order tables
For sale/receive/etc form.
Also, scroll the window to the unknown item
Go to data->orders
click to edit an order
Click "all done"
It should go back to the order list, not the usual default action for the sale/receive order page
Probably related to the duplicate checking
Would make for easier walk-in orders
The drop-down in "Make a shipment" should show the order source instead of the warehouse
In the sale/receive/etc forms, scan an unknown barcode, click the button to provide details.
When the form gets control back, the barcode scanbox should get the focus automatically
Move the template/rendering code into the DB as a _show handler for item docs
to show up on the github page
The "ok" button should be red and called "Delete" like the other modals
Make a shipment page:
Change the button that moves item to/from the shipment. The existing button should change its glyph to a + or an arrow or something else, but still move one item at a time. Add a new button that moves all the items in or out of the shipment.
When there gets to be zillions of items/orders/customers, it'll look better
Also maybe the address?
It would work just like the warehouse transfer form
Used to remove items from inventory but not count them toward sales numbers
Move the inputs fro size and weight to the "Make a shipment" page, but still show them on the confirm shipment page.
Characters like " aren't accepted in item name, for example
So the form header is shorter, you can see more items on the screen at the bottom
Only is-taxable customers should have tax applied
The start/end dates should default to today
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.