Commit Graph

268 Commits

Author SHA1 Message Date
Oliver Walters d6fcf85cd2 Set part category for multiple parts at once 2019-06-25 19:15:39 +10:00
Oliver Walters a5306ec81b Add 'revision' field to part
- e.g. different versions of a product
- Can keep old versions in database and mark as inactive
2019-06-20 21:46:16 +10:00
Oliver Walters b71d5b474a Fix BOM edit bug 2019-06-20 21:31:23 +10:00
Oliver Walters d07d815cb2 Buttons for BOM editing table 2019-06-19 19:07:18 +10:00
Oliver Walters 6e1b7bf3f0 Fix buttons in attachment table 2019-06-19 19:05:18 +10:00
Oliver Walters fefbcf2ed9 Clean up buttons for stock location 2019-06-19 18:49:05 +10:00
Oliver Walters 3e6cdb15be Clean up display of company pages
- Add some more buttons
- visual style consolidation
2019-06-19 07:48:05 +10:00
Oliver Walters 3dddb10f5d Pretty toggle buttons in modal forms 2019-06-18 23:12:13 +10:00
Oliver Walters 65a8a30f87 Many improves of the slidies 2019-06-18 19:05:09 +10:00
Oliver Walters b1c1015778 Add bootstrap-toggle 2019-06-18 18:38:03 +10:00
Oliver Walters 79cd05423c Custom aggregation of Part API
- Reduced full part query from 2.5s to 200ms!
2019-06-18 01:31:30 +10:00
Oliver Walters c9cddd2a19 Add ability to edit and delete a purchase order line item 2019-06-13 22:13:22 +10:00
Oliver Walters d860336060 Add some pretty buttons to the purchase order detail table 2019-06-13 21:44:09 +10:00
Oliver Walters f52aa0af21 Create a new purchase order directly from the "Order Parts" form wizard 2019-06-13 20:42:09 +10:00
Oliver Walters 915395e676 Create a new supplier part directly from the order form 2019-06-13 20:35:15 +10:00
Oliver Walters 4be82a31ce Remove rows from order form 2019-06-13 20:26:53 +10:00
Oliver Walters 3bb76060d9 Extract supplier purchase order selection information 2019-06-13 20:17:36 +10:00
Oliver Walters 1cb6c67086 Launch order dialog from the 'Parts' table 2019-06-11 23:55:20 +10:00
Oliver Walters bc05146e72 First pass at 'order parts' fom
- Select parts in modal form window
2019-06-11 23:37:32 +10:00
Oliver Walters 8e82488f70 Display 'net stock' value on front page 2019-06-11 21:58:20 +10:00
Oliver Walters c1f3bddf45 Secondary modal for creating a new stock location when moving stock 2019-06-06 19:28:52 +10:00
Oliver Walters 96eb4086cf Add form / view to edit purchase order details
- Cannot edit the COMPANY if there are line items already
2019-06-05 22:24:18 +10:00
Oliver Walters be6b1ae2f8 Updates for purchase order line items
- Display list of line items
- Add a form to create a new line item
2019-06-05 20:59:30 +10:00
Oliver Walters 64d541f453 Hide result types which return no results 2019-06-02 20:28:17 +10:00
Oliver Walters ba26acd487 Rename some fields
- Oops didn't think that through, gotta go through and fix the data now...
2019-06-02 19:46:30 +10:00
Oliver Walters 013a85e6f7 Better dispaly of stock status
- Send status text in JSON
- Only display status if it is not "OK"
2019-06-02 13:53:11 +10:00
Oliver Walters 5177b7f836 Remove some defunct javascript 2019-06-02 12:24:40 +10:00
Oliver Walters 2ee35ec062 Stock counting now works 2019-06-02 12:20:26 +10:00
Oliver Walters d365d7cc44 remove from stock now works 2019-06-02 12:15:44 +10:00
Oliver Walters 8dd9034563 Remove 'destination' field if we are not moving stock
- Allow different stock adjustment actions
2019-06-02 12:00:39 +10:00
Oliver Walters d1ff115f74 Simplifiy js and improve template / form 2019-06-02 11:47:21 +10:00
Oliver Walters c7503b4f9f Consolidated form/view into single 'stock-adjust' endpoint 2019-06-02 11:37:04 +10:00
Oliver Walters 011f5a5efd Delete rows interactively from stock adjustment form 2019-06-01 22:04:03 +10:00
Oliver Walters 56821abd09 CSS tweaks for modals 2019-05-29 23:13:26 +10:00
Oliver Walters 0e3f74ef31 Pass list of selected stock items to the view 2019-05-29 22:24:22 +10:00
Oliver Walters 6a30485a4e Initial work toward fixing stock issues 2019-05-29 01:03:21 +10:00
Oliver Walters d512232aac Readable css 2019-05-29 00:54:00 +10:00
Oliver Walters ea03205c50 Don't need to detach and re-attach rows any more!! 2019-05-29 00:47:36 +10:00
Oliver Walters 2ccb014d9e FINALLY sorting is working well
- Wrote a custom sorter which takes group rows into account
2019-05-29 00:45:35 +10:00
Oliver Walters ecde201bb0 Update to newest bootstrap-table script 2019-05-29 00:20:01 +10:00
Oliver Walters 729968e65d Better message for no stock found 2019-05-28 22:05:30 +10:00
Oliver Walters 8c583750a2 Update the stock list API
- Custom data serialization is MUCH faster (~400ms compared to 3s)
- Cache location queries
- Flatten related field data
- Update stock table javascript to match
2019-05-28 21:45:27 +10:00
Oliver Walters f7d521ca97 Reorder stock table columns 2019-05-28 19:13:46 +10:00
Oliver Walters 7ac52d4d9f Optionally select which column gets grouped
- Allow grouping by numerical values
2019-05-28 19:12:10 +10:00
Oliver Walters e4acca2951 Display stock item serial number (if it exists)! 2019-05-28 18:29:12 +10:00
Oliver Walters 807798810b Color sub-group rows slightly differently 2019-05-28 18:17:16 +10:00
Oliver Walters 8255332950 Remove some debug messages 2019-05-28 18:12:47 +10:00
Oliver Walters 4011d66b6f Display sub-location information 2019-05-28 18:08:50 +10:00
Oliver Walters 7120b940f0 Pre-collapse grouped columns 2019-05-28 17:51:02 +10:00
Oliver Walters 4218cf8b45 Client-side grouping
- Cusomizations made to bootstrap-table-group-by.js
- Group by part name
- Display total stock count per group
- Only group if there are more than 1 item in the group
- Groups send checkbox signals through appropriately!
2019-05-28 17:21:29 +10:00