Commit Graph

235 Commits

Author SHA1 Message Date
Oliver Walters
db01f3646a Enable drag-and-drop attachment upload for Part 2020-05-13 11:13:26 +10:00
Oliver Walters
f5b97da5d2 Refactor "attachment" table into template 2020-05-12 22:05:38 +10:00
Oliver Walters
c6cff1fb2e Fixes for StockItem tracking API
- Make the tracking API consistent with other API endpoints
2020-05-12 08:12:12 +10:00
Oliver Walters
ac5e26ca0e Typo fix 2020-05-12 07:07:29 +10:00
Oliver Walters
14132a6efa Add views / models / etc etc to support StockItem attachment 2020-05-07 09:57:54 +10:00
Oliver Walters
ec3e02af94 Table colspan fix 2020-05-04 09:52:50 +10:00
Oliver Walters
ce610490b6 Update icon
- Simple test to see if the travis integration is working correctly now
2020-05-04 09:43:09 +10:00
Oliver Walters
d59f22febb Fix stock thing 2020-05-02 22:18:08 +10:00
Oliver Walters
af6dd83f05 Rename .js files to .html
This is required so they are parsed by the translation engine
2020-05-02 22:13:14 +10:00
Oliver Walters
853ba825c0 Translation layer for bom.js 2020-05-02 22:07:24 +10:00
Oliver Walters
6c3dc2a25d Translation layer for company.js 2020-05-02 22:01:40 +10:00
Oliver Walters
2c9b76575e Add translation layer for order.js 2020-05-02 21:55:09 +10:00
Oliver Walters
23bd9afaf8 Add translation layer for build.js 2020-05-02 21:48:28 +10:00
Oliver Walters
24a816e9a2 More translations for part.js and stock.js 2020-05-02 21:43:07 +10:00
Oliver Walters
b1a642918c Add translation layer for stock.js 2020-05-02 21:36:18 +10:00
Oliver Walters
9b1e387a8b Translations for part.js 2020-05-02 21:27:45 +10:00
Oliver Walters
5160165669 Add endpoint for dynamic javascript files 2020-05-02 21:19:34 +10:00
Oliver Walters
6aa6e3b924 Adjust icon size in nav bar 2020-05-02 15:03:49 +10:00
Oliver Walters
440fe155ff Change glyphicons for fontawesome
I think I gottem all
2020-04-28 09:31:51 +10:00
Oliver Walters
5167117067 Calculate 'fulfilled' quantity once a sales order is marked as shipped
- This allows us to delete the SalesOrderAllocation objects from the database
2020-04-27 08:58:18 +10:00
Oliver Walters
e768ada83b More work
- Consolidated "in_stock" filter to single code location
- Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation
- Various template improvements etc
2020-04-26 16:38:29 +10:00
Oliver Walters
4147163418 Improve status code label rendering 2020-04-26 15:29:21 +10:00
Oliver Walters
2f0bbecc3d Refactored status code label generation
- Larger style available
2020-04-25 15:13:55 +10:00
Oliver Walters
77471cb89c Form for shipping a SalesOrder
- Returns "False" for now
2020-04-24 10:20:56 +10:00
Oliver Walters
b45fec221c Expose more status code data to the templates
- Status codes are now exposed globally to every page
- Much simplified so wow
- https://stackoverflow.com/questions/3221592/how-to-pass-common-dictionary-data-to-every-page-in-django
2020-04-24 09:27:42 +10:00
Oliver Walters
2c9b112562 PEP fixes 2020-04-23 21:48:39 +10:00
Oliver Walters
e5fa94b4f8 Add functionality to cancel a sales order 2020-04-23 21:38:40 +10:00
Oliver Walters
435c13cf7c Separate concept of "OrderStatus" into "SalesOrderStatus" and "PurchaseOrderStatus" 2020-04-23 20:38:09 +10:00
Oliver Walters
7f020cbbf6 Enbiggen a whole lotta buttons 2020-04-23 19:41:14 +10:00
Oliver Walters
6dd79af0b6 Expose "is_allocated" parameter on StockItem API 2020-04-22 10:11:40 +10:00
Oliver Walters
372958d939 Migrate more pages to the two_column template 2020-04-22 09:50:10 +10:00
Oliver Walters
808a636484 Move "Company" view to new two-column template 2020-04-22 09:01:52 +10:00
Oliver Walters
34d3dca8b7 Add ability to filter parts by "purchasable" status 2020-04-20 22:40:52 +10:00
Oliver Walters
9e4d09343c Add ability to filter parts list by "salable" status 2020-04-20 22:39:00 +10:00
Oliver Walters
ce1dd88129 Form for creating a new SalesOrder 2020-04-20 22:13:07 +10:00
Oliver Walters
5901b21e78 UI elements
- Add a "sales order" menu item to the main navbar
- Add a "sales order" tab to customer detail page
2020-04-20 19:47:29 +10:00
Oliver Walters
57fa69f6e6 Update version
- Display django version in "about" dialog
2020-04-20 01:20:09 +10:00
Oliver Walters
206d67337f Option to disable filters for part table 2020-04-16 21:41:45 +10:00
Oliver Walters
7ab58f683f Fix search result tables 2020-04-16 21:33:35 +10:00
Oliver Walters
0e55911a6b Index page rendering is now a lot faster
- Hide some elements which are currently very expensive to compute
-
2020-04-13 22:07:14 +10:00
Oliver Walters
90ac3a5a8a Add custom user filter for 'starred' status 2020-04-13 21:30:34 +10:00
Oliver Walters
7c892263f8 More API fixes
- Allow searching supplier parts by manufacturer name
- Better rendering of supplier part table

(cherry picked from commit 62199aedf5)
2020-04-13 20:20:55 +10:00
Oliver Walters
2a4e8cd062 Improve company search results page
(cherry picked from commit 34abf34c0f)
2020-04-13 20:19:53 +10:00
Oliver Walters
67d9d2bb04 Separate views for customer / supplier / manufacturer
(cherry picked from commit 9e9e29679d)
2020-04-13 20:19:21 +10:00
Oliver Walters
edfb19db13 Company table now in separate javascript file
(cherry picked from commit 95354f09da)
2020-04-13 20:19:16 +10:00
Oliver Walters
094a0fe709 Improvements to company API
- Filter by is_manufacturer
- Better table display

(cherry picked from commit f427ee4754)
2020-04-13 20:19:10 +10:00
Oliver Walters
7503596ea4 More fixes
- Add a set of template tags for rendering status codes
- Improve build API filtering
- Remove some outdated files
- Fix unit testing
2020-04-12 00:10:33 +10:00
Oliver Walters
f5a8b110b5 Filter part table by 'is_component' status 2020-04-11 23:02:18 +10:00
Oliver Walters
0f90e8f522 Filter parts by 'is_assembly'
Also greatly improve rendering of the Part table
2020-04-11 22:57:40 +10:00
Oliver Walters
e86bc4fa6d Add ability to filter parts by "low_stock"
- Huzzah for the "Coalesce" function, eh?
2020-04-11 22:43:51 +10:00