Commit Graph

2656 Commits

Author SHA1 Message Date
Oliver Walters
f06078f4ac CSS tweaks
- Still doesn't look exactly right
2020-04-11 22:25:34 +10:00
Oliver Walters
5e706554b1 Part table filtering
- Filter by active status
- Filter by 'is_template' status
- Filter by 'has_stock'
- Allow cascading sublocations
- API improvements to allow new features
2020-04-11 22:10:15 +10:00
Oliver Walters
d606df16f7 Bug fixes:
- prevent addition of empty filter tags
2020-04-11 22:09:09 +10:00
Oliver Walters
57d7d729c1 More table rendering fixes 2020-04-11 21:23:26 +10:00
Oliver Walters
e69f6c5b9d table fixes 2020-04-11 21:08:27 +10:00
Oliver Walters
0fc353ebac Filter purchase-order table for 2020-04-11 20:59:57 +10:00
Oliver Walters
6a0c5b78ae Refactor the purchase-order table
- Filter by order status
2020-04-11 20:56:31 +10:00
Oliver Walters
ba7c0bdea0 Improvements for status code generation
- Now includes labels
- Python template generates javascript which is then rendered? I don't even follow it any more
2020-04-11 20:48:02 +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
2f71233d62 More refactoring 2020-04-11 14:47:41 +10:00
Oliver Walters
e3102900b6 Allow stock API to filter by parts which are not active 2020-04-11 14:41:07 +10:00
Oliver Walters
393597612e More styling improvements 2020-04-11 14:36:48 +10:00
Oliver Walters
dddaa102b3 Layout improvements 2020-04-11 14:19:21 +10:00
Oliver Walters
64f8034a4c Many more refactoring 2020-04-11 14:14:45 +10:00
Oliver Walters
5d2441776e Further work on templated filter options 2020-04-11 13:38:51 +10:00
Oliver Walters
c1b59eeaab Render filter options as a template
- This allows the values to be seen by the translation layer
- Also means that whenever a new option is added, it will be automatically available to the front-end!
2020-04-11 13:24:23 +10:00
Oliver Walters
57c5d6c97a Moar refactoring 2020-04-11 12:30:24 +10:00
Oliver Walters
33ac34cc40 Add blank option to filter selection 2020-04-11 11:02:14 +10:00
Oliver Walters
41b208992c cleanup existing code 2020-04-11 11:01:11 +10:00
Oliver Walters
db8d95dba7 Refactoring - delete some unused functions 2020-04-11 10:59:15 +10:00
Oliver Walters
0c5f23ef98 More filter functionality 2020-04-11 10:57:02 +10:00
Oliver Walters
58636139af Refactoring filtering code 2020-04-11 10:14:31 +10:00
Oliver Walters
613dd9d471 Add (very rough) function to add new custom table filters
- The javascript needs a LOT of work!
2020-04-11 00:45:18 +10:00
Oliver Walters
b2565270a5 Cleanup logic for refreshing table with original filters 2020-04-11 00:20:46 +10:00
Oliver Walters
4256d09e80 Bugfix for bootstrap-table.j
"Refreshing" the table options did not work proper good
2020-04-10 23:54:10 +10:00
Oliver Walters
5d141a0b98 Display a list of filters for Stock table
- Delete a filter by pressing "X" button
2020-04-10 16:46:34 +10:00
Oliver Walters
5aa43a5a18 Load / save stock table filters in session storage 2020-04-10 12:54:54 +10:00
Oliver Walters
eeeb04c9f4 Unit testing for Order app API 2020-04-10 08:02:51 +10:00
Oliver
57da521833
Merge pull request #706 from SchrodingersGat/stocktake-api
Stocktake api
2020-04-10 01:11:42 +10:00
Oliver Walters
8da71037ae Update translations 2020-04-10 01:04:55 +10:00
Oliver
47764ca179
Update version.py
Add a _pre suffix
2020-04-10 01:03:54 +10:00
Oliver Walters
bc91975f2c Fixes for Stocktransfer API endpoint 2020-04-10 01:01:39 +10:00
Oliver Walters
5b2665edb1 Better API validation 2020-04-10 00:53:04 +10:00
Oliver Walters
41b3f1d39c API cleanup
Add / Remove / Count endpoints now work
2020-04-10 00:03:43 +10:00
Oliver Walters
3e5dc65c49 Bugfix for notes field 2020-04-10 00:03:21 +10:00
Oliver Walters
58a0f40889 Simplifiy stock adjustment APIs
- Separate API endpoints for count / add / remove / transfer
- Unit testing
2020-04-09 22:24:05 +10:00
Oliver Walters
1b3f8a9309 Unit testing for the stocktake API 2020-04-09 21:19:13 +10:00
Oliver Walters
f6a1ddf8e7 Re-enable stocktake API 2020-04-09 21:18:55 +10:00
Oliver
5447bc4356
Merge pull request #703 from SchrodingersGat/fixes
Check for missing part thumbnails
2020-04-07 14:38:44 +10:00
Oliver Walters
5aec63d9e4 Remove unused includes 2020-04-07 14:20:43 +10:00
Oliver Walters
1a0a4622a2 Revert makefile change 2020-04-07 13:16:23 +10:00
Oliver Walters
8786776fd6 Remove some tests
- CI complications
2020-04-07 13:08:30 +10:00
Oliver Walters
e94592e42d Moar unit testing plz 2020-04-07 12:09:25 +10:00
Oliver Walters
623a0844d3 Coverage tests for new functions 2020-04-07 11:50:46 +10:00
Oliver Walters
d06018cbbe PEP fixes 2020-04-07 11:40:10 +10:00
Oliver Walters
95032141ce Toot toot! It's the refactor tractor.
- Create helper functions to qualify media and static files
2020-04-07 11:38:57 +10:00
Oliver Walters
ae9ef04013 Use the company thumbnail in the Company API 2020-04-07 11:27:56 +10:00
Oliver Walters
e0655f61d8 Check if Company thumbnails are created on Company app start 2020-04-07 11:23:30 +10:00