2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 21:46:46 +00:00

33 Commits

Author SHA1 Message Date
Oliver
138cae2da0
Search improvements (#388)
* Refactor search widget

- visual improvements
- Simplifications
- Add refresh button
- Improve search button

* Track original search

* fix BOM widget

* Update release notes
2023-06-30 22:42:59 +10:00
Oliver
b7e806efee
PO Line Item Improvements (#340)
* Refactor thumbnail image

* Add paginated list of purchase order line items

* Refactor getBody() function

- No longer "have" to specify
- Can use getTiles for a simpler interface

* Add detail widget for polineitem

* add pricing info

* Receive line items via action button

* tweak color

* update release notes

* linting fixes
2023-04-21 23:15:00 +10:00
Oliver
e23a8b4d5e
Project code support (#336)
* Determine if project codes are supported

* Add helpers for boolean functions

* Adds helper methods for generic "model" class

- Will allow us to do some good refactoring

* Refactor the refactor

* Add debug support and getMap function

* Major refactoring for model data accessors

* Handle null values

* Add sentry reporting if key is used incorrectly

* Fix typo

* Refactor createFromJson function

* Add model for ProjectCode

* Display and edit project code for purchase orders
2023-04-21 21:12:22 +10:00
Oliver
b9ffabd561
Make notes widget "generic" (#327)
* Make notes widget "generic"

- No longer tied to the "part" model
- Will allow us to use it elsewhere

* Update release notes

* Add helper methods for checking model permissions

* Refactoring of permissions checks

* Add notes to the "purchase order" widget

* Fix typos

* remove bom tab from part view

* linting fixes
2023-04-19 21:57:28 +10:00
Oliver
612db9f194
Improvements for dark mode (#322)
* Action colors are now determined based on theme

* Fix unused import

* Update some more colors based on theme

* Updated release notes

* Better color choice

* Update for home screen

* Updates for app drawer

* remove unused import
2023-04-18 23:07:24 +10:00
Oliver
943104f20c
Add actions to issue or cancel purchase orders (#313) 2023-04-11 22:52:27 +10:00
Oliver
26b86a2194
Update status codes (#307)
* Extra error info when connecting to server

* Adds accessors for various types of status codes

* Cleanup / refactor stock status codes

- No longer need to duplicate these on the app

* improvements to purchase order list

- Add option to show closed orders
- Render order status

* Add purchase order status to order detail widget

* Update release notes

* Cleanup for imports

* linting fixes
2023-04-10 23:12:30 +10:00
Oliver
020cc4497c
PO Contact (#305)
* Bug fix in API forms

- Allow form fields to specify custom filters at runtime

* Add "contact" model to purchase order edit form

* Add action to create new purchase order from list widget

* widget updates for purchase order
2023-04-10 16:59:45 +10:00
Oliver
a8f87e2f5a
UX Overhaul (#300)
* Add "global actions" to title bar

* Implement actions

* Add "speed dial" action buttons

* tweak global action icons

* Refactor actions for "stock item" display

* Refactor "part" detail

* part category

* SupplierPart

* More updates

* Add BottomAppBar

* Add a global bottom app bar

* Move "edit" buttons back to the app bar

* tweaks

* Updates to drawer navigation menu

* home screen improvements

* text tweaks

* Fix appBarTitle for notifications widget

* Update "tabs" for category display

* Fix for attachment widget

* Update tabs for purchaseorder view

* Update part display

* Cleanup

* Add "BOM" tab to part detail widget

* Paginated list search cleanup

* Update release notes

* Update old function

* linting

* linting

* Tweaks to bottomappbar

- Increase icon size slightly
- Adjust "actions" icon
2023-04-08 23:59:11 +10:00
Oliver
79026792e2
remove legacy "reference_prefix" request (#295) 2023-04-04 22:34:06 +10:00
Oliver
347e80d8e2
Adds support for currency display (#277)
* Adds a helper function for rendering currency data

* Update helper functions for StockItem model

* Render purchasePrice correctly for stockitem

* Use currency_formatter library instead of money_formatter

* Add total price display for purchase order

* icon fix
2023-03-08 23:42:26 +11:00
Gustaf Järgren
6d4973deb8
Updated dependencies (#255)
* Bump android compile and target version, also flutter dependencies and resolve issues

* Remove deprecated splashscreen and added support for new Android 12 version.

* Updated workflow action versions and flutter sdk

* Resolved linting issues

* Resolved test binding issues
2023-02-11 00:24:06 +11:00
Oliver
83da0638a8
Dialog fixes (#242)
* Fix dialog for purchase order line item

* Fix other dialogs too

* Update release noes
2022-12-28 00:09:26 +11:00
Oliver
13ebaf43e1
List refactor (#179)
* Catch paginator bug if widget is disposed before request returns

* Refactoring paginated query widget

- Add option to enable / disable search filters

* Major refactor of paginated search widget

- Learned something new.. a state can access widget.<attribute>
- THIS CHANGES EVERTHING

* Preferences: Add code for tri-state values

- Also improve unit testing for preferences code

* Allow boolean form fields to be optionally tristate

* paginator: Allow custom boolean filters

* Remove outdated filtering preferences

* Refactor filter options

- Allow specification of more detailed options

* Add custom filters for "part" list

* filter tweaks

* Remove legacy "SublocationList" widget

* Add filtering option for locationlist

* Updates for stock location widget

* Refactor category display widget

* More widget refactoring

* Update main search widget

* Fix unit tests

* Improve filtering on BOM display page
2022-07-19 23:29:01 +10:00
Oliver
aa274b2e45
Stock location scan (#169)
* Add action for scanning a stock location into another location

* Adds barcode scan handler for new functionality

* Handle scanning of stock location

* Cleanup

* Refactor existing barcode scanning functions

- Will require extensive testing and validation

* Add entry to release notes

* Delete dead code

* Improved ordering based on stock quantity

* Bug fix for 'adjustStock' function

* Improve error responses for barcode scanning

* Improve error responses for barcode scanning

* Remove old debug statements

* Add some extra explanatory texts

* Icon change

* Fixes for unit tests

* Adds extra functionality for user profile manager

* Refactor barcode code - do not rely on BuildContext

* Adds initial unit testing for barcode scanning

- Work on mocking barcode data
- Add hooks for testing snackBar and audio files

* Linting fixes

* More barcode unit tests

* Cleanup unit tests for barcode

* Remove unused import

* Handle HTTPException in API

* Improvements for API unit testing

* Unit testing for scanning item into location

* Add unit test for scanning in items from a location context

* Unit test for scanning location into parent location

* Improve feedback for barcode scanning events
2022-07-18 22:10:00 +10:00
Oliver Walters
0237e9c819 Adds attachment support for purchase orders 2022-06-04 00:28:39 +10:00
Oliver Walters
b98f044204 More checks 2022-05-22 09:56:22 +10:00
Oliver Walters
059b69ce99 Adds code to requeest global setting from server
- Settings are individually cached for 5 minutes
- For now, use it for the purchase order reference prefix
2022-05-09 21:41:34 +10:00
Oliver Walters
2a6df373c5 Refactor imports 2022-03-29 19:54:19 +11:00
Oliver Walters
faf8e45138 Pop to the previous context if the stock item is "bad" 2022-03-26 17:38:30 +11:00
Oliver Walters
8e8015abe9 Request list of labels defined for a given stock item 2022-03-25 22:16:36 +11:00
Oliver
6c1c687926 Adds some more success messages 2022-03-10 17:03:07 +11:00
Oliver
a5b52ea1cc Linting 2021-10-04 08:31:39 +11:00
Oliver
581d182464 Refactor StockList 2021-10-04 00:14:12 +11:00
Oliver
6288088a65 Adds "barcode" field handler for API forms 2021-10-03 11:36:41 +11:00
Oliver
9eaf4a09da Linting fixes 2021-10-03 01:36:46 +10:00
Oliver
65180c7b2f Receive stock against purchase order line items 2021-10-03 01:33:16 +10:00
Oliver
86584b366f Building context menu for purchase order line item 2021-10-02 11:53:45 +10:00
Oliver
ad0cc36540 More linting work 2021-09-28 20:24:55 +10:00
Oliver
54d8c1759c Display line items in purchase order view 2021-09-28 11:43:56 +10:00
Oliver
c00f5d3266 Refresh line items 2021-09-28 08:11:22 +10:00
Oliver
a0a8f56490 Render more information on PurchaseOrder detail page 2021-09-28 01:15:30 +10:00
Oliver
61a9557df5 Display purchase order info 2021-09-28 00:45:48 +10:00