Add Android intent wedge scanner support with auto configuration for supported Zebra and Datalogic devices.
Intent wedge scans can be done without pressing the scan button first.
Adds the ability for an MDM server to push settings on Android.
* Add API version check
* Implement basic transfer order support
* add link to drawer
* Adjust dashboard display order
* Support transfer order allocation detail
* Add progress bar
* Enable scan of transfer order
* Add setting to control if part requirements are shown
* Split settings for Part and Stock
* Fetch part requirements information
* Add "building" indicator
* Show order allocation progress for part requirements
* Bump release notes
* Remove unused import
* Bug fix for API forms without URL
- Ensure submitted data is returned
* Translate search fields
* Update release notes
* Remove debug message
* dart format
* Basic widget
* Redirect label printing action
* Refactor label printing code
* Construct form elements
* Refactor to allow re-use of forms
* Basic rendering of label printing form
* Remove dead code
* Pass custom handler through to form context
* Refactoring API forms:
- Allow custom pk field name
- Add callback when values change
* linting
* Dynamically rebuild form
* Handle nested fields
* Handle label printing status
* Run dart format
* Update release notes
* Remove unused var
* Enable close icon
* Handle initial plugin default value
* Store default values:
- Selected template (per label type)
- Selected printing plugin
* Dart format
* Fix dart linting
* use setter
* Just use a public field
* Fix async loading of parent part
- Don't block render while fetching data
* Display default location on part detail page
* Use pathstring instead of name
* Update release notes
* Display in stock detail too
* dart format
* Add detail widget for SalesOrderShipment
* Support editing of shipment details
* Rearrange SalesOrderDetail page
* Add support for attachments against shipment model
* refactoring
* Add shipment details page
* Add user actions for shipments:
- Check / uncheck
- Take photo
* Placeholder action to send shipment
* Send shipment from app
* Display pending shipments on the home screen
* Improve rending for shipments list
* Add class definition for SalesOrderAllocation
* Display list of items allocated against SalesOrderShipment
* Bump release notse
* Click through to stock item
* Bump version number
* dart format
* cleanup
* Remove unused imports
* Add LinkIcon component
* Visual UI updates
- Refactor some components
- Clearer text display
- Add obvious chevron icon when a "tile" will take the user somewhere else
* dart format
* Adjust release notes
* Add visual separator
* Cleanup unused imports
* Implement part pricing data and new part pricing widget
* improve part pricing widget and part pricing data. Add part pricing setting.
* Refactor helper func
* Tweak translated string
* Refactor part pricing page
* Update release notes
* Fixes
* More cleanup
---------
Co-authored-by: JarEXE <eykenj@gmail.com>
* Define classes for extra line item
* Display PO extra line items
- Also, some refactoring
* Support extra line items for sales order
* linting fixes
* Update release notes
* API: refactor checkPermission
- Rename to checkRole (actually what it is doing)
- Permission check will be incoming
* Add checkPermission function for API
* Create a new company
* Bump release notes
* Cleanup
* Fix
* Bump release notes and version
* Display responsible owner for purchase order
* Display responsible owner for sales order
* Display order completion date
* Add "take picture" to purchase order detail
* Rename uploaded images
* Provide prefix when uploading images
* Add similar functionality for "sales order" detail
* Add new settings screens
* Control camera shortcut
* Bump release notes
* Refactor stock barcode operations into new file
* Add setting to control confirmation of stock transfer actions
* Update details when scannign stock item
* Confirm movement when moving items into location
* Cleanup
* Add support for "active" status for:
- SupplierPart
- Company
* Add filtering options
* Fix default value
* Add inactive tiles
* Update text and release notes
* New string
* Typo fix
* Add model for SalesOrderShipment
* Add placeholder button to sales order item
* Create a new shipment from the sales order detail view
* Fix API URL
* Add paginated shipment list
* Upate colors
* Add API form for allocation of stock to sales order
* Build out sales order line detail widge
* Use unallocated quantity
* Update release notes
* linting fix
* Refactor existing barcode scan endpoint
- Break out into new file just for purchase orders
* Handle scanning of salesorder
* Add new handler for adding items to PO via barcode
* Allocate with barcode
* Add new string
* Add new setting for controlling manual barcode scan
* Adds ability to pause and resume scanning with button
- Camera is still "live" during this
* Add UI elements
* Change scan setting
- "Continuous" scanning
- Enabled by default
* Update release notes
* Scanner updates
- Use "hold to pause" in continuous scan
- Use "tap to pause" in single scan
* Improve barcode scanning options
- Allow tap-to-pause or hold-to-pause
- More obvious user interactions
* Ensure consistent icon placement
* Remove separate setting for barcode pause mode
* Add new models for SalesOrder
- Create generic Order and OrderLine models with common functionality
* Refactor
- Move some widgets around
- Cleanup directory structure
* Add link to home screen and nav drawer
* Add SalesOrder list widget
* Linting fixes
* Fix string
* Refactor PurchaseOrderDetailWidget
* Tweaks to existing code
* linting
* Fixes for drawer widget
* Add "detail" page for SalesOrder
* Add more tiles to SalesOrder detail
* Allow editing of salesorder
* add list filters for sales orders
* Display list of line items
* Customer updates
- Display customer icon on home screen
- Fetch sales orders for customer detail page
* Cleanup company detail view
* Create new sales order from list
* Stricter typing for formFields method
* Create new PurchaseOrder and SalesOrder from company deatil
* Status code updates
- Add function for name comparison
- Remove hard-coded values
* Update view permission checks for home widget
* Add ability to manually add SalesOrderLineItem
* Add nice progress bar widgets
* Display detail view for sales order line item
* edit SalesOrderLineItem
* Fix unused import
* Hide "shipped items" tab
- Will be added in a future update
* Add code_scan_listener package
* Implement wedge controller widget
* Update barcode settings widget
- Allow user to choose which barcode scanner to use
* Fix typo
* Select barcode scanner widget based on user preference
* Fix rendering issues for wedge controller
* Update release notes
* Add unit test for wedge scanner widget
- Required some tweaks to other code
* Use better library
- https://github.com/fuadreza/flutter_barcode_listener
- Fork of https://github.com/shaxxx/flutter_barcode_listener
- Properly handles key "case" issues (shift, essentially)
- Verified that it works correctly for multiple character types
* Local copy of code, rather than relying on package which is not available on pub.dev
* Fix unit test
* Embed device platform information into token request
* Remove username and password from userProfile
* Display icon to show if profile has associated user token
* Remove username / password from login settings screen
* Refactor login procedure around token auth
* Refactoring
* Add profile login screen
- Username / password values are not stored
- Just to fetch api token
* Login with basic auth
* Pass profile to API when connecting
* Remove _BASE_URL accessor
- Fixes URL caching bug
* Add more context to login screen
* Add helper functions for unit tests
- Change default port to 8000 (makes testing easier with local inventree instance)
* api.dart handles basic auth now
* fix api_test.dart
* Further test improvements
* linting fixes
* Provide feedback when login fails
* More linting
* Record user details on login, and display in "about" widget
* Fix string lookup
* Add extra debug
* Fix auth values
* Fix user profile test
* Add POReceiveBarcodeHandler to support barcode/po-receive/ endpoint
* Remove german translation
* Add api version checks
* Add getOverlayText method to barcode handler
* Bump required API version to 139
* Update barcode.dart
The "quantity" field is not an integer, and can cause the app to crash if not handled correctly
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Allow download of printed label
* Add setting for controlling label printing
* Control display of label printing via setting
* Refactor label printing functionality
- Move to helpers.dart
- Will be used for other label types also
* Factor out request for label templates
* Add label printing support for part
* Support label printing for stock location
* update release notes
* Display stock quantity more prominently
* Cleanup search widget
* Update for stock_detail widget
* More tweaks
* Change bottom bar icon
* Display boolean parameters appropriately
* Adds ability to edit part parameters
* Bump icon size a bit
* Improvements to filter options
- Allow filtering by "option" type
- To start with, filter stock by status code
* Remove debug message
* Remove getTriState method
- No longer needed
- Remove associated unit tests
* Adjust filters based on server API version
* Muted colors