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
591c6a5592
Update stock display to indicate allocations
2022-07-05 18:38:28 +10:00
Oliver Walters
ada64f3971
Adds attachment support for the StockItem model
2022-06-04 00:23:10 +10:00
Oliver Walters
aa4317a2fe
Add support for "quarantined" stock item status
2022-06-03 19:51:08 +10:00
Oliver Walters
1b901b39df
Remove old stuffs
2022-05-22 16:19:10 +10:00
Oliver Walters
850c2b8c12
Remove support for legacy stock transfer API code
...
- Relies on modern API now
- Checks for error messages against hidden fields in stock items
2022-05-22 15:59:19 +10:00
Oliver Walters
b98f044204
More checks
2022-05-22 09:56:22 +10:00
Oliver Walters
f13b04d029
Refactor audio file player
...
- Do not play if there is no context available (e.g. unit testing)
2022-05-22 08:23:20 +10:00
Oliver Walters
b18dd92079
Fixes after preferences file refactor
2022-05-21 19:44:47 +10:00
Oliver Walters
366c732668
Add support for locating a stock item
2022-05-10 00:30:28 +10:00
Oliver Walters
03c6de8255
Stock location can now be identified via the app
2022-05-10 00:15:20 +10:00
Oliver Walters
2a6df373c5
Refactor imports
2022-03-29 19:54:19 +11:00
Oliver Walters
8233fb39d6
Adds user setting to show or hide stock history
2022-03-28 21:41:21 +11:00
Oliver Walters
4a7884f7fd
Add skeleton for "Stock History" widget
2022-03-28 21:00:20 +11:00
Oliver Walters
6c7b4ea7c1
Update release notes
2022-03-26 19:21:24 +11:00
Oliver Walters
d780a1faa1
Merge remote-tracking branch 'origin/master' into stock-item-delete
2022-03-26 19:04:48 +11:00
Oliver Walters
fd8fc9051a
Show if stock item is "in production"
2022-03-26 18:58:59 +11:00
Oliver Walters
ea724fcf5f
Allow user to manually remove (delete) a StockItem
2022-03-26 18:33:02 +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
f2f652bfdc
Send label printing information to the server
2022-03-26 11:24:56 +11:00
Oliver Walters
34fd68229d
Launch a dialog to print a label
2022-03-25 23:37:14 +11:00
Oliver Walters
02a9bbe3c6
Enhance existing api_forms functionality
...
- Allow form to be created without an actual API endpoint
- Useful for creating client-side forms without any server interaction
2022-03-25 23:36:56 +11:00
Oliver Walters
8e8015abe9
Request list of labels defined for a given stock item
2022-03-25 22:16:36 +11:00
Oliver
582f6bace3
Adds success messages after editing things
2022-03-10 16:59:27 +11:00
Oliver
5d0ffa059d
Refactor stock adjustment functions
...
- Provide compatibility with "modern" and "legacy" API versions
2022-01-08 23:05:45 +11:00
Oliver
7c3698beba
Fix QR code icon
2022-01-08 22:30:04 +11:00
Oliver
d296d589d9
Update barcode / qrcode icons
2022-01-05 12:08:47 +11:00
Oliver
3e16ab80f7
bug fixes
2021-10-05 23:01:37 +11:00
Oliver
3daae47a25
Fix strings and icons
2021-10-05 22:54:17 +11:00
Oliver
b7bb81c0ea
Fixes
2021-10-05 22:52:23 +11:00
Oliver
4d5af825b1
Add some friendly update messages
2021-10-05 22:48:45 +11:00
Oliver
ba41ebde73
Add support for "modern" stock actions via the API
...
- In the future, will have to deprecate support for the old ways
- Probably v0.6.x?
2021-10-05 22:45:47 +11:00
Oliver
4f8794e652
Refactor barcode scann function
...
- Provide a custom callback to be executed when the barcode is scanned
2021-10-03 12:04:01 +11:00
Oliver
65180c7b2f
Receive stock against purchase order line items
2021-10-03 01:33:16 +10:00
Oliver
2886f7c930
Display non-field errors as returned from the server
2021-10-03 01:20:37 +10:00
Oliver
2f8d02b0be
API_Form: Allow customizable icon
...
- Also fixes for API search
2021-10-02 22:31:28 +10:00
Oliver
77bac9af36
Yet more linting
2021-09-28 20:35:19 +10:00
Oliver
ad0cc36540
More linting work
2021-09-28 20:24:55 +10:00
Oliver
c1152ee286
Fixes for type casting
2021-09-28 17:53:14 +10:00
Oliver
e538174b07
Bug fix for stock item actions - initial quantity
2021-09-28 11:40:15 +10:00
Oliver
8d7b339482
Comment
2021-08-16 12:22:27 +10:00
Oliver
a4c96694bb
Refactorin'
2021-08-15 15:34:40 +10:00
Oliver
2cb3e89a9a
Cleanup
2021-08-10 20:59:07 +10:00
Oliver
4ff6ce1ca3
Refactor some more forms
2021-08-10 20:47:36 +10:00
Oliver
6d0282519d
API forms return the JSON data to the onSuccess function
2021-08-10 14:33:08 +10:00
Oliver
140687c386
Refactorin'
2021-08-10 08:06:52 +10:00
Oliver Walters
87864d2f07
display stock item packaging
2021-08-10 00:12:41 +10:00
Oliver Walters
baa3d3a1bb
Display "batch code" for stock item
2021-08-10 00:10:20 +10:00
Oliver
d6a2a41ab2
Enable multi-line text editing for API forms
...
- User can edit part notes
- User can edit stock item notes
2021-07-28 16:19:42 +10:00
Oliver
fd821bbfc5
Display purcahse price for stock item
2021-07-26 23:31:36 +10:00