* use session auth rather than token auth
* Add unit tests for login
* Ensure user cannot reuse login after logout
* handle logout mid session
* Additional unit tests
* ensure sensitive data is redacted from sentry
* Handle session disconnect
* Additional tweaks
* Update pubspec.lock
* Update release_notes.md
* Bump version number
* Adjust login button
* Clear stored session when host changes
* Improved redacting of sensitive info
* Improved handling of local session storage
* prevent failed migration from logging as complete
* Fix for error raised in overlapping requests
* replace userInfo on successful response
* handle empty response
* Improved session comparison
* Add UI testing
* Check if the backend supports auditlog info
* Change from stockhistory to auditlog
- Removes support for legacy stockhistory tracking
- Now uses AuditLog
* Update release notes
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