Commit Graph

212 Commits

Author SHA1 Message Date
Oliver Walters f248b20ba4 Fix 2020-04-12 00:33:43 +10:00
Oliver Walters 6ed482d9eb Update translations 2020-04-12 00:33:10 +10:00
Oliver Walters fd8273e3e2 Improve build base rendering
- Consolidate style
- Fix rendering of part pricing
2020-04-12 00:31:59 +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 5d70f496a5 Ability to filter build list by status 2020-04-11 20:03:31 +10:00
Oliver Walters f0ffb0f8c0 Ability to include part_detail in build API
- Build list now uses bootstrapTable
2020-04-11 19:59:16 +10:00
Oliver Walters a4e45eab13 Skeleton for AJAXified build table 2020-04-11 19:36:01 +10:00
Oliver Walters 44c10c45cd visual consolidation 2020-04-06 20:50:33 +10:00
Oliver Walters 789712acbe Rename Build.URL -> Build.link 2020-04-06 11:28:35 +10:00
Oliver Walters 6fd0380196 Display item overage in the allocation list 2020-03-19 10:16:58 +11:00
Oliver Walters 8eaaf62eda Limit choices for Part selection
Based on is_template / virtual / active status
2020-03-18 21:28:11 +11:00
Oliver Walters 33ffa2f75f Add option to make stock-table read-only
- Default table is not read-only
2020-03-18 20:37:25 +11:00
Oliver Walters 23aebab6d0 Display list of build outputs in the Build tab
- Allow StockList api to be filtered by Build id
2020-02-17 23:31:23 +11:00
Oliver Walters 5ae7ca71d7 Improve number rendering of build allocation page 2020-02-12 08:12:26 +11:00
Oliver Walters 564635c368 Add some translatable strings 2020-02-12 08:11:59 +11:00
Oliver Walters cb29ff14e0 Change auto_now field to auto_now_add
- Build creation date should no longer get erroneously updated
2020-02-10 21:34:41 +11:00
Oliver Walters 0f92468462 Add icon to signify if notes exist 2020-02-02 11:48:43 +11:00
Oliver Walters a7846940c4 Markdownify the notes field for Build model 2020-02-02 00:00:19 +11:00
Oliver Walters a1f33c4084 Change build allocation quantity to decimal field 2019-11-19 10:22:46 +11:00
Oliver Walters 003a2d9f3c Allow creation of stockitem with non-integer quantity
-  Also provided more translation strings
2019-11-19 10:00:08 +11:00
Oliver Walters 0ea8ade26c Better rendering for build allocation page
- Added translations too
2019-11-19 09:51:35 +11:00
Oliver Walters ae2e2f36e4 Update a bunch more tables 2019-09-22 22:18:53 +10:00
Oliver Walters 2046c12600 Use a jQuerified function 2019-09-22 21:56:57 +10:00
Oliver Walters 628a58e8fc Show which parts are short in build view 2019-09-16 08:23:40 +10:00
Oliver Walters fedbb834ee Add mouse-over text to build-cancel button 2019-09-16 08:17:39 +10:00
Oliver Walters 70e07470db Custom URL validators for more fields 2019-09-14 00:08:49 +10:00
Oliver Walters c45c4e236e Point new stockitem to the correct build 2019-09-01 23:18:28 +10:00
Oliver Walters 86b2b9cdb1 Allow unserialized build 2019-08-29 08:05:45 +10:00
Oliver Walters 9f5325d61f PEP fixes 2019-08-15 21:50:42 +10:00
Oliver Walters 087492faf8 More build tests 2019-08-15 21:49:40 +10:00
Oliver Walters cd05ed91aa More tests for Build API and views 2019-08-15 21:35:16 +10:00
Oliver Walters 62f007529e Bug fix in build views
- Untested code path meant variable was not being set
2019-08-15 21:19:59 +10:00
Oliver Walters 80771beee9 FIxtures for build testing 2019-08-15 21:16:12 +10:00
Oliver Walters 5501fecbc4 PEP 2019-08-15 19:36:03 +10:00
Oliver Walters b8d7cefa95 Add button to delete a build (only if it has been cancelled) 2019-08-15 19:35:12 +10:00
Oliver Walters 03b7e3a815 Add view / template to delete a build 2019-08-15 19:34:55 +10:00
Oliver Walters d9e5bfd971 Use button row rather than drop-down for build display 2019-08-15 19:26:13 +10:00
Oliver Walters 9e5eadd6c3 Set serial numbers when creating a new stock item 2019-07-23 10:31:34 +10:00
Oliver Walters 23d03d6b9b Build completion now handles unique serial numbers
Provide a method to test if a serial number matches for a given part
2019-07-22 15:55:36 +10:00
Oliver Walters 9a8e4d25d2 Input serial numbers when creating a new build 2019-07-22 13:45:09 +10:00
Oliver Walters 20ec36d3ea Enforce authentication for API access 2019-07-08 19:20:00 +10:00
Oliver Walters 776ca7db12 Visual style for build 2019-06-19 08:03:39 +10:00
Oliver Walters 008a55d3d7 Squashed a bug 2019-06-17 23:02:44 +10:00
Oliver Walters 760d08608f Minor test addition for builds 2019-06-17 22:41:44 +10:00
Oliver Walters 73b9881dc5 Improve table rendering for build allocation view 2019-06-13 22:18:27 +10:00
Oliver Walters a37a2120fa Add some context data to build views 2019-06-13 21:32:37 +10:00
Oliver Walters 2b74a0ed2c Don't show zero-quantity items when ordering against a build 2019-06-13 21:28:01 +10:00
Oliver Walters b138a4bd5f Order parts directly from a build 2019-06-12 00:21:18 +10:00
Oliver Walters ad5c6630bd Bug fix in Build.completeBuild 2019-06-06 10:43:34 +10:00
Oliver Walters e199ed2281 PEP fixes 2019-06-05 00:21:19 +10:00