mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 05:26:47 +00:00
0.4.2
- Disable "suppliers" detail window (for now)
This commit is contained in:
parent
acecec113e
commit
beeea794cb
@ -6,8 +6,8 @@ export "COCOAPODS_PARALLEL_CODE_SIGN=true"
|
|||||||
export "FLUTTER_TARGET=lib\main.dart"
|
export "FLUTTER_TARGET=lib\main.dart"
|
||||||
export "FLUTTER_BUILD_DIR=build"
|
export "FLUTTER_BUILD_DIR=build"
|
||||||
export "SYMROOT=${SOURCE_ROOT}/../build\ios"
|
export "SYMROOT=${SOURCE_ROOT}/../build\ios"
|
||||||
export "FLUTTER_BUILD_NAME=0.4.1"
|
export "FLUTTER_BUILD_NAME=0.4.2"
|
||||||
export "FLUTTER_BUILD_NUMBER=23"
|
export "FLUTTER_BUILD_NUMBER=24"
|
||||||
export "DART_OBFUSCATION=false"
|
export "DART_OBFUSCATION=false"
|
||||||
export "TRACK_WIDGET_CREATION=false"
|
export "TRACK_WIDGET_CREATION=false"
|
||||||
export "TREE_SHAKE_ICONS=false"
|
export "TREE_SHAKE_ICONS=false"
|
||||||
|
@ -51,8 +51,7 @@ class InvenTreeSupplierPart extends InvenTreeModel {
|
|||||||
@override
|
@override
|
||||||
String URL = "company/part/";
|
String URL = "company/part/";
|
||||||
|
|
||||||
@override
|
Map<String, String> _filters() {
|
||||||
Map<String, String> defaultListFilters() {
|
|
||||||
return {
|
return {
|
||||||
"manufacturer_detail": "true",
|
"manufacturer_detail": "true",
|
||||||
"supplier_detail": "true",
|
"supplier_detail": "true",
|
||||||
@ -60,6 +59,16 @@ class InvenTreeSupplierPart extends InvenTreeModel {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Map<String, String> defaultListFilters() {
|
||||||
|
return _filters();
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Map<String, String> defaultGetFilters() {
|
||||||
|
return _filters();
|
||||||
|
}
|
||||||
|
|
||||||
InvenTreeSupplierPart() : super();
|
InvenTreeSupplierPart() : super();
|
||||||
|
|
||||||
InvenTreeSupplierPart.fromJson(Map<String, dynamic> json) : super.fromJson(json);
|
InvenTreeSupplierPart.fromJson(Map<String, dynamic> json) : super.fromJson(json);
|
||||||
|
@ -274,14 +274,16 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
|||||||
tiles.add(
|
tiles.add(
|
||||||
ListTile(
|
ListTile(
|
||||||
title: Text(L10().suppliers),
|
title: Text(L10().suppliers),
|
||||||
leading: FaIcon(FontAwesomeIcons.industry, color: COLOR_CLICK),
|
leading: FaIcon(FontAwesomeIcons.industry),
|
||||||
trailing: Text("${part.supplierCount}"),
|
trailing: Text("${part.supplierCount}"),
|
||||||
|
/* TODO:
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.push(
|
Navigator.push(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(builder: (context) => PartSupplierWidget(part))
|
MaterialPageRoute(builder: (context) => PartSupplierWidget(part))
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ description: InvenTree stock management
|
|||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 0.4.1+23
|
version: 0.4.2+24
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user