Oliver Walters
7aa473712f
Remove unused setting page
2020-10-20 08:32:00 +11:00
Oliver Walters
c6e61c20fe
Generate default settings for all InvenTreeSetting object
2020-10-20 08:24:23 +11:00
Oliver Walters
e8a0095e50
Add some options for the build order settings page
...
- Not editable yet
2020-10-20 00:24:33 +11:00
Oliver Walters
92c1e3c1a5
Update settings pages
2020-10-19 23:50:39 +11:00
Oliver Walters
5405ad566e
Add 'reference' to API serializer
2020-10-19 22:53:40 +11:00
Oliver Walters
634410294b
Display table of items received against a particular purchase order
...
- Adds new tab to "Purchase Order" view
- Adds ability to filter StockList API by purchase_order ID
2020-10-19 11:40:57 +11:00
Oliver Walters
8b16304e84
Custom 404 page
2020-10-08 14:09:08 +11:00
eeintech
095cfe9845
Updated Stock permission views and templates
2020-10-06 08:55:40 -05:00
Oliver Walters
ab454e5ba4
More template changes: perms -> roles
2020-10-06 16:46:13 +11:00
Oliver Walters
d2e2e7511f
Update templates: Change perms to roles
2020-10-06 10:07:39 +11:00
Oliver Walters
23aee234f0
Change index page to use roles rather than perms to determine user permissions
2020-10-06 09:32:05 +11:00
Oliver Walters
ba4c829b10
Add permission requirements in various part templates
2020-10-06 00:20:45 +11:00
Oliver Walters
4d49cb029f
Change part views to require permissions
...
Also adds custom 403 page
2020-10-05 23:49:32 +11:00
Oliver Walters
3e9c7cda21
Change what elements the user can see on the index page, based on permissions!
2020-10-05 23:11:55 +11:00
Oliver
731c796254
Merge pull request #1011 from SchrodingersGat/navbar-permissions
...
Hide main elements of navigation bar based on user permissions
2020-10-05 11:17:41 +11:00
Oliver Walters
13cd8624b2
Fix permissions
2020-10-05 01:01:56 +11:00
Oliver Walters
3ee7be1d58
Add "optional" field to BomItem
...
- Defaults to False
- Indicates that the BomItem is "optional" for a build
- Will be used in the future when calculating if a Build output is fully allocated!
2020-10-05 00:42:09 +11:00
Oliver Walters
62734c4b72
Add a custom template for the install item form
2020-10-05 00:01:01 +11:00
Oliver Walters
852da6d696
Fix form validation
2020-10-04 23:48:15 +11:00
Oliver Walters
46f459b4c7
Better display of stock table
2020-10-04 23:34:02 +11:00
Oliver Walters
3c5968ef1a
Add subrow table to the "installed items" view
...
Ah, javascript...
2020-10-04 22:58:41 +11:00
Oliver Walters
b467c8a1ef
Add front-end functions to render an "installed stock" table
2020-10-04 15:17:46 +11:00
eeintech
496232ed6d
Added tests for Category parameters methods, some code clean-up
2020-10-01 13:46:56 -05:00
eeintech
9d3d9a190b
Added bootstrap table 'filter-control' extension to use in parametric tables
2020-10-01 12:10:35 -05:00
eeintech
15e1c05791
Fixed 'Part' column sorting
2020-10-01 11:05:08 -05:00
eeintech
b7d25a75c4
Hide part toolbar, nicer part representation, improved parameters prefetching
2020-10-01 10:03:49 -05:00
eeintech
a71b5ef0a0
Merge branch 'master' of git://github.com/inventree/InvenTree into parametric_part_tables
2020-10-01 09:02:21 -05:00
eeintech
4763f3ea46
Reformulated empty query message
2020-09-30 11:53:14 -05:00
eeintech
87d836617e
Merge branch 'master' of git://github.com/inventree/InvenTree into empty_search_query
2020-09-30 11:50:12 -05:00
Oliver
4f648f8787
Merge pull request #1010 from SchrodingersGat/admin-permission-fixes
...
Update admin links to require specific permissions
2020-10-01 00:37:43 +10:00
Oliver Walters
756f3ddb0f
Hide main elements of navigation bar based on user permissions
2020-10-01 00:25:24 +10:00
Oliver Walters
81864a6ab8
Fix button layout for stock table
2020-10-01 00:00:37 +10:00
Oliver Walters
a952dc38a3
Add filtering for parts which have an IPN set
2020-09-30 23:35:39 +10:00
eeintech
40d8a07acc
Now loading data! Still need to be bonified
2020-09-29 16:49:53 -05:00
eeintech
d05a5978a0
Unique parameters names from category makes it to bootstrap table
2020-09-29 16:13:08 -05:00
eeintech
6b48977e7b
Added 'Parametric Table' tab to category detail view, added part_count to 'Parts' tab
2020-09-29 15:16:12 -05:00
eeintech
18e19d7920
Empty search query returned all elements from database
2020-09-28 16:34:41 -05:00
Oliver Walters
e78e649aa9
Change layout for the index page
...
- Expanding one table doesn't force the neighbouring one to be expanded also
2020-09-28 22:22:48 +10:00
Oliver Walters
b58f7d7461
Custom table display for installed stock items
2020-09-28 20:19:56 +10:00
Oliver Walters
d684ed076b
Improve table filter naming
2020-09-28 20:10:29 +10:00
Oliver Walters
f253bf1843
Add ability for stock API to be filtered by installed status
2020-09-28 20:07:25 +10:00
Oliver Walters
8a4597be6a
Adds ability to filter stock API results by batch code
2020-09-23 09:11:46 +10:00
Oliver Walters
89b3290068
Add search results for stock items
2020-09-19 23:38:33 +10:00
Oliver Walters
2e1388475e
Filter stock tables by serial number
2020-09-19 21:39:43 +10:00
Oliver Walters
b30754f561
Animate hourglass icons
2020-09-19 21:26:34 +10:00
Oliver Walters
b9594db832
Add some hourglass loading icons
2020-09-19 21:23:36 +10:00
Oliver Walters
597ab37ba6
Further cleanup
2020-09-19 21:18:29 +10:00
Oliver Walters
1b6843e72d
Cleanup "bom_invalid" filter
...
- Allow filtering by bom either valid or invalid
- Use "bom_valid" as the filter (positive tense)
2020-09-19 21:03:49 +10:00
Oliver Walters
87d0d872e0
Fix spelling mistakes
2020-09-19 20:45:00 +10:00
Oliver Walters
b8509f7533
Add ability to filter builds by "active" status
2020-09-19 20:42:20 +10:00
Oliver Walters
11a17fb9b1
Implement a "simplified" part table which does not enforce extra filtering
2020-09-19 20:35:30 +10:00
Oliver Walters
eaf42b8abe
Instead of creating a custom filter for "latest" parts,
...
simply make use of the existing "ordering" query as part of DRF
2020-09-19 20:26:17 +10:00
eeintech
c55fa13cdb
Added part list which require more stock to be built
2020-09-18 11:40:50 -05:00
eeintech
945c3c214d
Added outstanding purchase and sales orders views to homepage
2020-09-17 17:19:19 -05:00
eeintech
3d597cc3c3
Added 'Pending' builds report to homepage, includes builds with 'Allocated' status
2020-09-17 14:36:05 -05:00
eeintech
28a55f0a58
Merge branch 'master' of git://github.com/inventree/InvenTree into new_homepage_layout
2020-09-16 17:03:59 -05:00
eeintech
a9fffe6a73
Added latest parts and invalid BOMs on homepage
2020-09-16 17:02:24 -05:00
eeintech
472e2d0acd
Fixed borders of navbar barcode button
2020-09-16 09:44:12 -05:00
Oliver Walters
32cde5d8f1
Fixx css for multiple button groups
2020-09-13 20:56:05 +10:00
Oliver Walters
aa35c787b2
Fix for weird button toggles (it was a doozy!)
...
- Turning off autocomplete seems to have done the job
- https://stackoverflow.com/questions/36546775/html-checkboxes-keep-checked-after-refresh#36547079
2020-09-13 17:47:40 +10:00
Oliver Walters
36ac268b96
BOM Display: Multiple fixes
...
- Previous multi-level BOM display changes had broken the table in editing mode
- Simplify code
- Re-implement edit / delete / validate buttons
- Re-enable checkboxes in edit mode
2020-09-13 00:13:53 +10:00
eeintech
28585644ea
Added automatic listing of custom CSS sheets (no more hardcoded), added error message when current selection is not valid and select default theme
2020-09-09 14:55:32 -05:00
eeintech
896fa131f0
Moved color themes CSS sheets to own folder, nicer crispy form for selecting theme
2020-09-08 16:24:22 -05:00
eeintech
10dd8fad80
Renamed Theme to ColorTheme, ColorTheme is now a per-user selection
2020-09-07 16:27:23 -05:00
eeintech
2e5ec5d249
Theme change works but applies to all user
2020-09-07 15:15:51 -05:00
eeintech
0548bee8ad
Added Color Theme view in settings
2020-09-07 11:29:24 -05:00
Oliver Walters
598e15af46
Fix annotations for Company serializers
2020-09-05 23:03:38 +10:00
Oliver Walters
42967905bc
New approach for multiple annotations
...
- Use the django-sql-utils addon - https://github.com/martsberger/django-sql-utils
- The "distinct=True" flag was not doing what I thought it was doing...
2020-09-05 22:35:19 +10:00
Oliver Walters
eaec85398f
Treegrid display for part variants
2020-09-02 23:51:28 +10:00
Oliver Walters
672936e2d4
Update many tables
2020-08-31 21:55:01 +10:00
Oliver Walters
86e675dbbd
Make checkbox field non-switchable for stock table
2020-08-28 10:49:49 +10:00
Oliver Walters
146dae6d43
Toot toot - it's the refactor tractor!
...
- New function for launching a CreateStockItem form
- Wraps up the previous code improvements into a single function
- Oh, the ease!
2020-08-27 00:08:02 +10:00
Radek Hladik
f9149d041e
Collapse navbar on small screen
2020-08-23 10:56:29 +02:00
Oliver Walters
0aeb7ddbdf
Allow column show/hide on BOM table
2020-08-20 08:57:11 +10:00
Oliver Walters
41c4a5376b
Bugfix: Recursive BOM display
...
- Actually request recursively! (duh)
- Fix the idField and parentIdField for the BOM display (was incredibly wrong)
- Sub-rows are initially displayed in the "collapsed" state
2020-08-20 08:52:22 +10:00
Oliver Walters
1767ef7a3a
Fix issues with tree sorting
...
- Need to set parent ID based on the BOM items
- This is to prevent data duplication that was weird and dumb
2020-08-18 21:24:11 +10:00
Oliver Walters
82903d2bd6
BOM display is now heirarchical
2020-08-18 21:01:22 +10:00
Oliver Walters
0da9e0f834
Add "sent_to_customer" filter
2020-08-09 21:10:21 +10:00
Oliver Walters
502702b3bc
Add some more visual tags to the stock list
2020-08-09 21:04:41 +10:00
Oliver Walters
bc3fda71a4
Display "depleted" label next to depleted stock
2020-08-08 17:11:50 +10:00
Oliver Walters
96a3f2920d
Stock table filters now arranged in alphabetical order
2020-08-08 17:09:22 +10:00
Oliver Walters
099f56e779
Add "depleted" table filter
2020-08-08 17:08:18 +10:00
Oliver Walters
a2c3c1086c
Catch unhandled javascript errors
2020-08-08 09:31:57 +10:00
Oliver Walters
7b332d93ee
Rearrange button layouts
2020-08-08 08:48:27 +10:00
Oliver Walters
0152ae79ef
Adds table filters for stock assigned to a particular customer
2020-07-14 15:54:03 +10:00
Oliver Walters
930f903f5d
Add ability to display "out of stock" items against a part
2020-06-22 10:48:41 +10:00
Oliver Walters
9757fb06db
Fix a weird button issue
...
- reloadTable() was causing the button 'click' handler to fire...
- NFI why this is happening
2020-06-12 16:47:57 +10:00
Oliver Walters
ab4e6548dc
Transfer stock items into a stock location using barcode scanning
2020-06-12 16:29:08 +10:00
Oliver Walters
e1c503836d
Improve barcode icon in navbar
2020-06-12 10:56:52 +10:00
Oliver Walters
8cafaa0e62
Make barcode javascript translatable
2020-06-12 10:43:27 +10:00
Oliver Walters
07be08d0f3
"Simplify" qr code display
2020-06-11 19:40:44 +10:00
Oliver Walters
503d5a41b1
Add global 'barcode-scan' button
2020-06-11 18:09:43 +10:00
Oliver Walters
290c0eb225
Add barcode javascript file
2020-06-11 09:56:59 +10:00
Oliver Walters
126e42a022
Add "IPN" column to stock list table
2020-06-06 08:47:06 +10:00
Oliver Walters
15817ce61a
Add "IPN" column to part table
2020-06-05 19:26:41 +10:00
Oliver Walters
fcd588cb01
Filter SalesOrder by status
2020-06-05 12:08:47 +10:00
Oliver Walters
6ebce2b2fd
Add ability to filter purchase orders by "outstanding" status
2020-06-05 12:06:28 +10:00
Oliver Walters
544e217347
Add page to show stock which is assigned to a customer
2020-06-05 11:52:07 +10:00
Oliver Walters
c92bb78ae8
Stock table display fixes
2020-05-26 12:06:38 +10:00
Oliver Walters
669a76c921
Add serial number range filtering options for the stock table
2020-05-26 11:54:23 +10:00
Oliver Walters
c44205273c
Simplify javascript
2020-05-24 20:05:34 +10:00
Oliver Walters
e63342418f
Improve / simplify logic for file attachments against test result object
2020-05-23 11:30:42 +10:00
Oliver Walters
2f6d03388d
Add serializer / table display
2020-05-18 19:15:40 +10:00
Oliver Walters
1cc0977816
Display testing status for a stock item
2020-05-17 22:33:41 +10:00
Oliver Walters
5f318799c1
Logic fix for table row grouping
2020-05-17 21:51:46 +10:00
Oliver Walters
8ace71ef56
Complete refactor of the test-result table for stock item
2020-05-17 21:09:49 +10:00
Oliver Walters
e9ed50fc4b
Add table displaying part test templates
2020-05-17 16:07:55 +10:00
Oliver Walters
327682b719
Add forms / views / etc to create / edit / delete test results manually
2020-05-17 00:26:10 +10:00
Oliver Walters
82fe497787
Add buttons to edit / delete a Test result
...
- Don't do nuthin yet!
2020-05-17 00:04:45 +10:00
Oliver Walters
e23a9c1269
Load testresult table for stock item
...
- Uses the API / bootstrap table
- Is pretty!
- Provides link to the attachment (if one exists)
2020-05-16 23:54:07 +10:00
Oliver Walters
fe99e92bfc
Refactor table_filters javascript file to prevent loading on every single page
2020-05-16 21:02:25 +10:00
Oliver Walters
4cb97b1340
Add some more form candy
2020-05-16 11:55:10 +10:00
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
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
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
a4e45eab13
Skeleton for AJAXified build table
2020-04-11 19:36:01 +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
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
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
b8bbd15c88
Icon cleanup
2020-04-06 22:02:27 +10:00
Oliver Walters
44c10c45cd
visual consolidation
2020-04-06 20:50:33 +10:00
Oliver Walters
e6f6a936e0
Can haz moar icons?
2020-04-06 20:24:45 +10:00
Oliver Walters
751937e0c2
Use InstanceName around the place
...
- Report in /api/ endpoint
- Display in About window
- Include in any generated barcode
2020-04-06 20:11:36 +10:00
Oliver Walters
7ecd843ca4
More translations
2020-04-05 20:56:16 +10:00
Oliver Walters
d1a27d2f7e
Search icon rather than text
2020-04-05 20:51:07 +10:00
Oliver Walters
bb844ab94b
New icons for home page
2020-04-05 20:04:21 +10:00
Oliver Walters
ca98cbee68
More navbar icons
2020-04-05 20:04:04 +10:00
Oliver Walters
7dd749f394
Add icons to the navbar
2020-04-05 20:00:34 +10:00
Oliver Walters
b0c1999922
Include font-awesome scripts
2020-04-05 19:42:34 +10:00
Oliver Walters
cfd32db570
Include fontawesome icons
2020-04-05 19:34:48 +10:00
Oliver Walters
5af2fae120
Simplify URLs for purchase orders
2020-03-22 19:47:08 +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
7dcc94b106
Filter purchaseorder API by supplier part
2020-02-12 12:44:52 +11:00
Oliver Walters
33d21594da
Create new stock item from supplierpart stock page
...
- Allow stock-item-create form to have supplierpart passed as initial data
- Add some translations too
2020-02-12 11:32:01 +11:00
Oliver
4b8e44bc4a
Merge pull request #632 from SchrodingersGat/database-stats
...
Database stats
2020-02-02 22:18:32 +11:00
Oliver Walters
244d364575
Display some basic stats
2020-02-02 22:13:10 +11:00
Oliver Walters
aa210efad6
Simple skelton for database stats view
2020-02-02 22:03:31 +11:00
Oliver Walters
91ca37c84b
Add stats link to navbac
...
- Also add translation layer for the navbar
2020-02-02 21:51:23 +11:00
Oliver Walters
d0a7a24649
Add translatable strings
2020-02-02 21:43:10 +11:00
Oliver Walters
20273f1541
Add commit date information to about window
2020-02-02 12:39:35 +11:00
Oliver Walters
56255a98d8
Add a menu item to delete multiple stock items
2019-11-16 19:28:47 +11:00
Oliver Walters
871b853b9f
Single form to delete single or multiple SupplierPart objects
2019-09-30 13:28:51 +10:00
Oliver Walters
3e2a5263a5
Add stock information for top-level stock page
2019-09-27 09:59:14 +10:00
Oliver Walters
ae2e2f36e4
Update a bunch more tables
2019-09-22 22:18:53 +10:00
Oliver Walters
cf2abb4130
Add option to display ALL results in a paginated table
...
- Commonize the number of pages allowed
2019-09-19 23:20:42 +10:00
Oliver Walters
8a995cc193
Ability to edit username
2019-09-19 14:36:14 +10:00
Oliver Walters
a9d1cadc12
Add link to documentation
2019-09-17 00:41:28 +10:00
Oliver Walters
4746a3ccff
Bootstrapify the table
2019-09-15 23:11:06 +10:00
Oliver Walters
2c1a744c2d
Display singleton settings in the settings tab
...
- Only visible to 'staff' user
2019-09-15 23:09:58 +10:00
Oliver Walters
02e71bd2ce
Template for displaying other settings
2019-09-15 22:50:47 +10:00
Oliver Walters
ddb041fe44
Filter by category too
2019-09-09 19:59:56 +10:00
Oliver Walters
3d5542181a
Move "Export" button onto stock table
2019-09-08 23:40:51 +10:00
Oliver Walters
026108803e
More links in the about page
2019-09-08 20:48:33 +10:00
Oliver Walters
32f606627d
Special display case for base currecny
2019-09-07 22:43:39 +10:00
Oliver Walters
446b342480
Add pagination to tables
2019-09-07 20:32:22 +10:00
Oliver Walters
c45fcb45cf
Delete a part parameter template from the settings view
2019-09-07 20:30:51 +10:00
Oliver Walters
42ade0e0b7
Edit part parameter template from settings view
2019-09-07 20:28:38 +10:00
Oliver Walters
55669c79c2
Delete a currency from the currency settings view
2019-09-07 20:22:30 +10:00
Oliver Walters
3188b0ab18
Edit currency from settings view
2019-09-07 20:19:35 +10:00
Oliver Walters
31562826f4
Add modal form for creating a new currency
2019-09-07 20:06:04 +10:00
Oliver Walters
67ea0fa887
Create a new part parameter template
2019-09-07 19:53:47 +10:00
Oliver Walters
94ab7c5b0e
Display list of part parameter templates in the part settings page
2019-09-07 19:45:36 +10:00
Oliver Walters
f415e2040e
API endpoint for PartParameter and PartParameterTemplate
2019-09-07 19:44:10 +10:00
Oliver Walters
6752bdc1c6
Sort currency API
2019-09-07 19:28:20 +10:00
Oliver Walters
873faee040
Display currency list under currency settings page
2019-09-07 19:23:58 +10:00
Oliver Walters
89c3ab5e99
Formatting
2019-09-07 18:58:37 +10:00
Oliver Walters
27878d2d8d
Split settings into multiple pages
...
- Tab style navigation
2019-09-07 18:02:03 +10:00
Oliver Walters
1b8fb4db44
Start skeleton for better settings page
2019-09-07 15:04:18 +10:00
Oliver Walters
eb378e5e5d
Specify PNG image for QR code generation
2019-09-06 12:38:09 +10:00
Oliver Walters
3682e9b5fb
Display currency selection in part pricing dialog
2019-09-03 22:28:53 +10:00
Oliver Walters
273412b63d
Add 'bug report' button
2019-09-02 22:14:50 +10:00
Oliver Walters
fc5682f565
Form is now fully transferred to a formview
2019-07-02 19:20:45 +10:00
Oliver Walters
3dddb10f5d
Pretty toggle buttons in modal forms
2019-06-18 23:12:13 +10:00
Oliver Walters
ee5722857f
Re-add 'new stock item' button
2019-06-18 22:13:54 +10:00
Oliver Walters
1d67b4cdaa
Sliders now update the part options via AJAX
2019-06-18 19:24:10 +10:00
Oliver Walters
65a8a30f87
Many improves of the slidies
2019-06-18 19:05:09 +10:00
Oliver Walters
783b8964d1
Add 'slide' for part type
2019-06-18 18:49:52 +10:00
Oliver Walters
b1c1015778
Add bootstrap-toggle
2019-06-18 18:38:03 +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
4be82a31ce
Remove rows from order form
2019-06-13 20:26:53 +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
50bab299c5
Add hover image to 'parts to order' table
2019-06-11 21:52:43 +10:00
Oliver Walters
3954b33fb7
Use 'on_order' count in calculation for parts we need to order
2019-06-10 23:05:14 +10:00
Oliver Walters
c49b8546f0
Index page for showing all purchase orders
2019-06-04 23:59:15 +10:00
Oliver Walters
4f1acddb5d
Fix some build status code thingies
2019-06-04 23:42:48 +10:00
Oliver Walters
cc2e3351ff
Search for company
2019-06-04 22:34:58 +10:00
Oliver Walters
7a244f48ae
Solve weird collapse bug
...
- HTML is so gross
- Disable image hover seems to work...
2019-06-03 21:35:40 +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
fd2e2a71f9
Add search results for part-category and stock-location
2019-06-02 19:15:05 +10:00
Oliver Walters
2ee35ec062
Stock counting now works
2019-06-02 12:20:26 +10:00
Oliver Walters
8214aef0db
Add template for hover_image
2019-06-01 21:13:51 +10:00
Oliver Walters
ecde201bb0
Update to newest bootstrap-table script
2019-05-29 00:20:01 +10:00
Oliver Walters
4011d66b6f
Display sub-location information
2019-05-28 18:08:50 +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
Oliver Walters
75b21bdd8f
Visual tweaks
2019-05-26 00:20:03 +10:00
Oliver Walters
add601e296
Display supplier part results on search page
2019-05-24 21:34:00 +10:00
Oliver Walters
001dacc14e
Display 'no stock available' warning
2019-05-18 13:24:15 +10:00
Oliver Walters
04420b7f6b
Improve display of allocation page
2019-05-18 13:06:19 +10:00
Oliver Walters
34d1ef7d8d
Change label size for build status
2019-05-18 09:44:16 +10:00
Oliver Walters
0a1887477c
Create template for stock table
2019-05-16 22:15:44 +10:00
Oliver Walters
a1d587b7f4
Rename 'Company' to 'Suppliers' in front-end
2019-05-15 07:44:13 +10:00
Oliver Walters
2e5b3bfdf9
Prevent multiple loads of part.js
2019-05-14 23:44:33 +10:00
Oliver Walters
dc3abec899
Add a secondary modal in modals.html
2019-05-14 22:30:24 +10:00
Oliver Walters
b996c03f61
Add a 'set password' form
2019-05-14 13:58:23 +10:00
Oliver Walters
0032ea3409
Add a form to edit basic user settings
...
- First / last name
- Email address
2019-05-14 13:33:47 +10:00
Oliver Walters
3c6d5756c5
Create a simple user settings view
2019-05-14 13:21:20 +10:00
Oliver Walters
e35a9284eb
Add a generic DeleteForm and update AjaxDeleteView
2019-05-13 22:46:47 +10:00
Oliver Walters
2408318eae
Add new view to duplicate a part
...
- Allows 'deep_copy' (copies all BOM items for the duplicated part)
2019-05-13 21:41:32 +10:00
Oliver Walters
1d36ea3e2e
Add a 'full_name' field for Part
...
- Combines IPN | Name | Variant
- Use this to display in most views
2019-05-12 12:16:04 +10:00
Oliver Walters
7b4584ba2f
Add some more options for modal forms
...
- Ability to display info or warning panels before the form
2019-05-11 18:06:43 +10:00
Oliver Walters
4e4ee2742b
Move modal form error messages to the top
2019-05-11 11:50:00 +10:00
Oliver Walters
f76f1f54ae
Add 'variant' field to Part model
...
- Display 'long_name' which is concatenation of name and variant
2019-05-10 22:17:13 +10:00
Oliver Walters
d04f38c724
Improve CSS for main page
...
- Breadcrumb now appears above sidenav tree
- Better margin / etc
2019-05-09 22:23:43 +10:00
Oliver Walters
6724717346
Added title for Index and Search pages
2019-05-09 18:28:19 +10:00
Oliver Walters
b9b17f39d9
Override page title for Stock app
2019-05-09 18:11:13 +10:00
Oliver Walters
b4b9d1514e
Mark 'inactive' parts in part list table
...
- Fix part display in search results page
2019-05-08 22:03:59 +10:00
Oliver Walters
40d8332e7f
Add 'allocated' status code to build
...
- This means that parts have been taken from stock
2019-05-08 07:48:39 +10:00
Oliver Walters
4f84febbd1
More intelligent BuildItem allocation
...
- Set initial value for quantity based on how many parts are left to allocate
- Auto select the StockItem to take from (if there is only one)
2019-05-07 22:46:37 +10:00
Oliver Walters
e58bed41b0
Visual style improvements
2019-05-07 21:24:09 +10:00
Oliver Walters
6ac3f58e97
Added favicon
...
generated using https://www.favicon-generator.org/
2019-05-07 20:24:27 +10:00
Oliver Walters
eec0fc34d2
Provide function callback when file is dropped
...
- https://stackoverflow.com/questions/6756583/prevent-browser-from-loading-a-drag-and-dropped-file
-
2019-05-06 21:28:49 +10:00
Oliver Walters
dca26b5810
Change the display of the part thumbnail when dragging a file overhead
...
Refs:
- https://stackoverflow.com/questions/26756176/jquery-dragenter-or-dragover-to-include-children#26777526
- https://stackoverflow.com/questions/10867506/dragleave-of-parent-element-fires-when-dragging-over-children-elements
Thanks, StackOverflow!
2019-05-06 19:21:14 +10:00
Oliver Walters
02bd9c2d05
Search part by IPN
2019-05-06 11:23:55 +10:00
Oliver Walters
726109457c
Add icon to navbar dropdown
2019-05-05 11:51:35 +10:00
Oliver Walters
c75d892fd7
Display collapsible list of starred-parts on the index page
2019-05-05 11:41:42 +10:00
Oliver Walters
d2d248c72e
QR button code is now a template
2019-05-05 10:56:59 +10:00
Oliver Walters
c383b2b246
Bug fix for modal question box
2019-05-05 00:38:19 +10:00
Oliver Walters
9aa1a70f18
QR code improvements
...
- Display QR codes as links to served images
- The qr_code plugin caches these images in the background
- Make a qr_code template to push out as a modal form
- Create a QRCodeView to simplify display of QR codes
- Add option to launchModalForm() to disable the 'submit' button
Refactored QR code display for
- StockLocation
- StockItem
- Part
2019-05-04 18:46:57 +10:00
Oliver Walters
b1cdb7833d
Add confirmation modal to activate/deactivate a part
...
- New question modal available
2019-05-04 16:31:23 +10:00
Oliver Walters
b32a9ed597
Add 'About InvenTree' modal
...
- Accessible from the top-right dropdown menu
- Add InvenTree/version.py which contains helper functions
2019-05-04 11:23:30 +10:00
Oliver Walters
2eb825b0e6
Improved table rendering
2019-05-04 00:02:53 +10:00
Oliver Walters
2b3094eac4
Add error dialog box for forms
...
- Display status message
- Display status code
- Display extended error message in collapsible section
2019-05-03 23:41:31 +10:00
Oliver Walters
38100520df
Add 'to_order' and 'to_build' collapsible panels
2019-05-02 20:18:34 +10:00
Oliver Walters
18c5ad7a6e
Add template for collapsible item
2019-05-02 18:46:39 +10:00
Oliver Walters
905d78e25c
Complete build now works
...
- Marks build as complete
- Deletes temporary BuildItem objects
- Preselects the part's default_location if there is one
- Creates a new stockitem in the selected location
2019-05-02 00:04:39 +10:00
Oliver Walters
d061250a9a
Changed delete form close button to "Cancel"
2019-04-30 18:57:37 +10:00
Oliver Walters
1c710e71a5
Modal forms now display non-field errors
...
- Critical for errors not relating to a particular field (e.g. unique_together)
- Ref: https://stackoverflow.com/questions/7419535/how-to-render-django-form-errors-not-in-a-ul
2019-04-26 23:01:04 +10:00
Oliver Walters
deebc80088
Display available stock in part search page
2019-04-26 21:31:53 +10:00
Oliver Walters
41ee6320a8
Delete some other old templates
2019-04-18 23:44:15 +10:00
Oliver Walters
8dc3063765
Vertical centering for header image
2019-04-18 08:40:54 +10:00
Oliver Walters
16dc5e2436
Reorganize script locations
...
- Delete script files that are no longer used
2019-04-17 19:03:28 +10:00
Oliver Walters
69e8f4f5cc
Fix up search box display in the navbar
2019-04-17 08:21:07 +10:00
Oliver Walters
ca7182bf6b
search page now returns matching parts
...
- Searches 'name' and 'description' field
- Uses the JSON API
2019-04-17 08:16:34 +10:00