Commit Graph

11 Commits

Author SHA1 Message Date
Oliver ee0cbdbb07 Skeleton for deleting multiple items
- Does not work yet! But opens a window...
2018-05-06 22:38:39 +10:00
Oliver a55f6a1c7b Improved stock movement modal
- Show which parts will be moved (and where they currently are)
2018-05-06 22:01:24 +10:00
Oliver d8922aa9db Implemented API to move multiple items at once
- Added ability to override request method in inventreeUpdate
- Added inventree/script/stock.js to handle stock API js 
- Added StockMove API endpoint
2018-05-06 21:39:33 +10:00
Oliver c2bc65f903 API improvements
- Add success and error callbacks
- Further improvements for modal forms
2018-05-06 20:20:39 +10:00
Oliver 58cd933a5d Whoops, fixed the API callbacks 2018-05-06 19:33:43 +10:00
Oliver 890c9002aa Callback for API 2018-05-06 19:26:11 +10:00
Oliver 22e9290f54 Helper funcs for updating part and stock item 2018-05-05 01:37:21 +10:00
Oliver 11e7a34aa2 AJAX function to update a model endpoint
- Grabs the CSRF token cookie (required!)
- If final mode, adds '_is_final' parameter to request
2018-05-05 01:26:58 +10:00
Oliver ee347c6165 Further API calls
- getStock
- getStockLocation
- getCompanies
2018-05-05 00:00:48 +10:00
Oliver 7e4b0630b6 Part category API 2018-05-04 23:54:57 +10:00
Oliver 83dd068fec Initial commit for api.js
- GET JSON call with console output
- Provide filters
2018-05-04 23:43:41 +10:00