* refactor attachment code into its own file
* Add getters
* Remove custom models for each type of attachment
* Refactor existing widgets
* Fix double camera open bug
* Remove dead code
* Remove unused imports
* Refactor common code
* format
* Update release notes
* 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
* feat: implement Flutter version management using FVM across CI workflows
* Flutter 3.29.3 + minor Package upgrades
* Replace deprecated `withOpacity`
* Upgrade major package versions without breaking changes.
* Disable unnecessary_async rule
Re-enable later
* New language version and automated fixes
- unnecessary_breaks
- unnecessary_underscore
* Update BUILDING.md to use fvm commands
* Add gitignore files for Android and iOS build artifacts
* Migrate iOS dependencies to Swift Package Manager
This is being done automatically by Flutter
* Flutter 3.32.4
* New sdk version
* docs: add IDE setup instructions and troubleshooting guide for FVM integration
* 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
* Refactor search widget
* Cleanup
* Fix for unallocated stock count
* Fix race condition
- Only upate results which match the current search term
- Prevents issues with multiple "competing" queries
* Fix for stock quantity
* Fix icon credits
* Tweak app bar color
* Cleanup visual stylinh
* 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
* Change from fontawesome to tabler icons
- Consistent with the frontend
* Cleanup conflicts
* Use double quotes
* remove unused import
* Update release notes
* Migrate some google icons to tabler icons
* Icon update
* Properly support display of custom icons
* Fix lookup
* Minimum API version is now 100
* Remove old API features
- Anything below API v100 no longer supported
* Reefactor attachment widget to support modern attachment API
* Filter and display attachments correctly
* Refactor
* Add check for modern label printing interface
* Update getLabelTemplates
* Fix typo
* Refactor / simplify
* Revert parameter type
* Update version number and release notes
* Refactor label printing function
- Will require some cleanup in the future
- Still needs testing
* Fix for modern printing
* Typo fix
* Catch error comparing dropdown items
* Update version number and release notes
* Data conversion
* Catch error when loading image from network
* Suppress error reporting for statusCode -1
* 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
* Update dart version
* Update flutter version in workflow
* Update packages
* Updates to android workflow
* Specify dart verrsion in CI
* Run flutter upgrade
* Helps to check which workflow is actually running I guess
* Disable linting check
* linting fixes
* linting
* Bug fix for paginator
* 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
* 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
* Improves quantity parsing from
* Add paginated history widget
* Refactor stock history widget as a paginated widget
* Allow paginated result list to handle results returned as list
- Some API endpoints (older ones most likely) don't paginate results correctly
* Fix code layout
* Render user information in "history" widget (not quantity)
* Hide filter button
* Update release notes
* remove unused import
* 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
* Adds pre-generated file for mapping icon names to icon hex values
* Remove unused import
* Simple method for converting icon string into useable data
* Add rendering for category list and location list
* Add custom icons to detail views
* Updated release notes
* Bump release notes
* Adds method for linking custom barcodes
* Custom getter method for determining if an item has barcode data
* Add method to check if the API supports "modern" barcodes
* Refactor custom barcode implementation for StockItem
- Needs testing
* Unit testing for linking and unlinking barcodes
* Fixes
* Refactor code for "custom barcode action" tile
* Add custom barcode action to StockLocation
* Add extra debug to debug the debugging
* Unit test fix
* Change scope I guess?
* remove handler test
- Prevent API requests for invalid PK values
- Perform checks for invalid PK values at multiple points
- Change order of operations in StockDetail widget
* Prevent duplicate reporting of errors to sentry
* Prevent error message upload on some server error codes
* Filter out some common errors we are not interested in
* Catch state error in homepage widget
* Add flutter_overlay_loader lib
- Displays an overlay screen to indicate blocking operation
* Wrap blocking widget transitions in a loading overlay
- Prevents user from doing other things while loading
- Shows the user that something is happening
* Linting fixes
* Show overlay when uploading attachment file
* Show overlay when downloading file also
* Show overlay when loading or submitting API forms
- Major improvements to usability "feel"
* UI improvements for stock item test results widget
* Fix API_FORM bug
- onSuccess function was not being called
* 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