Oliver
5429c06349
Add isManufacturer accessor for Company
2021-08-02 17:33:13 +10:00
Oliver
944f1e2cdc
Add default list filters for ManufacturerPart
2021-08-02 16:31:44 +10:00
Oliver
0b44b3a0c9
Add default list filters for SupplierPart
2021-08-02 16:31:05 +10:00
Oliver
aa24274cb3
Code cleanup for part_detail view
2021-08-02 14:04:18 +10:00
Oliver
013e977031
Request list of supplierparts
2021-08-02 14:00:39 +10:00
Oliver
21985584c2
Add accessor functions for SupplierPart and ManufacturerPart models
2021-08-02 13:45:57 +10:00
Oliver
76e0dd6803
Add model for ManufacturerPart
2021-08-02 11:51:49 +10:00
Oliver
77532a4026
Add more details to the part page
...
- "on order" count
- "used in" count
- "supplier" count
- "bill of material" count
2021-08-02 11:42:21 +10:00
Oliver
d290f98445
Refactor showFormDialog function
2021-07-30 11:09:46 +10:00
Oliver
07017c4745
Barcode handler code cleanup
2021-07-30 11:09:01 +10:00
Oliver
b423d43db8
Cleanup
2021-07-29 17:23:07 +10:00
Oliver
3ae9342a86
Provide release code to sentry
2021-07-29 16:13:15 +10:00
Oliver
b41f1a2ac7
Update package_info and device_info
2021-07-29 16:08:44 +10:00
Oliver
489f4bee50
Specify environment for sentry.io
2021-07-29 15:25:29 +10:00
Oliver
6d1bed29c0
Pass BuildContext variable to barcode views, rather than storing it locally
2021-07-29 01:26:35 +10:00
Oliver
058cde1d3d
Adjust calls in barcode.dart to match example
2021-07-28 22:36:39 +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
b8379e05db
Update to allow android 30 (and newer) to open HTTPS links
...
Ref: https://medium.com/flutter-community/package-visibility-for-url-launcher-on-android-11-api-30-7c03cbce76a5
2021-07-28 16:18:49 +10:00
Oliver
9b090723f9
Update release notes,
...
- Also adds locale support for more language codes
2021-07-27 08:56:40 +10:00
Oliver
fd821bbfc5
Display purcahse price for stock item
2021-07-26 23:31:36 +10:00
Oliver
8a114d345f
Display "action" items with color
2021-07-26 23:18:52 +10:00
Oliver
08eb6fc4b1
Remove typeahead library
2021-07-26 23:04:43 +10:00
Oliver
978cefd6bf
edit stock item
...
- Render choice fields
2021-07-26 22:26:56 +10:00
Oliver
e8cb002e3c
Edit StockLocation
2021-07-26 22:03:37 +10:00
Oliver
bc713dfdcd
API form for editing PartCategory
...
- Custom related field renderer function
- Grab related field data from the server
2021-07-26 21:56:29 +10:00
Oliver
377da3c2fb
Handle "filters" for related fields
2021-07-26 21:02:24 +10:00
Oliver
2bdadc2140
Cleanup
2021-07-26 17:28:16 +10:00
Oliver
d07b704014
Looks like dropdown_search is the way to go!
2021-07-26 17:21:17 +10:00
Oliver
ca4297ae6d
Working on implementation of a related field
2021-07-25 23:26:27 +10:00
Oliver
a002ce1e8a
Add more editable fields to the Part
2021-07-23 13:07:15 +10:00
Oliver
1e4e75dfb7
Refactor colors used in the app
2021-07-23 12:57:56 +10:00
Oliver
7a6457f870
Improve rendering for checkbox fields
2021-07-23 12:36:03 +10:00
Oliver
5c2f747b93
Improve formatting of error messages
...
Also run onSuccess function when form completes
2021-07-23 09:42:05 +10:00
Oliver
64aed4b31a
Refactor modal form into a new stateful widget
2021-07-22 17:49:43 +10:00
Oliver
885df45138
Merge branch 'master' into api-forms
2021-07-22 17:00:13 +10:00
Oliver
6b226fafc9
Improve display of StockList tiles
2021-07-20 19:36:19 +10:00
Oliver
c99be189bb
Updates!
...
- Add "last update date" to StockDetail view
- Add 'stocktake date" to StockDetail view
2021-07-20 19:32:48 +10:00
Oliver
ca6226a596
Form updates
2021-07-20 19:14:44 +10:00
Oliver
fd818740f7
Merge branch 'master' into api-forms
2021-07-19 12:07:51 +10:00
Oliver
bf7a0e72bf
Cleanup
2021-07-19 11:18:42 +10:00
Oliver
31ed4c6a7b
Handle error code 50x
2021-07-19 10:41:34 +10:00
Oliver
b254784bb3
Catch for response.data potentially being null
2021-07-19 10:00:20 +10:00
Oliver
27caf3983a
Add callback functions
2021-07-16 17:35:56 +10:00
Oliver
faf20030e3
Set error messgaes for form fields
2021-07-16 17:30:31 +10:00
Oliver
e470fb60a2
Fix package names
2021-07-16 17:10:03 +10:00
Oliver
322b35ec1c
Merge branch 'master' into api-forms
...
# Conflicts:
# lib/api.dart
# lib/widget/part_detail.dart
2021-07-16 17:06:38 +10:00
Oliver
b219de757b
Cleanup
2021-07-16 16:41:37 +10:00
Oliver
6ed0acce27
Refactor API requests
...
- Return a non-nullable APIRequest object
- Contains status-code, url, method, etc
- Pass all API requests through a common function which does error handling
2021-07-16 16:39:33 +10:00
Oliver
e637e2a9bc
make package name lowercase
2021-07-16 15:07:28 +10:00
Oliver
ba9f09cd65
stash
2021-07-16 08:23:34 +10:00