2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-27 01:10:44 +00:00

Supplier part support ()

* Bump version and release noes

* Add barebone list and detail widgets for the SupplierPart model

* Launch into SupplierPartList from CompanyDetail

* Update StockDetail widget

* Fixes for SupplierPart model

* Add images to supplier part list

* Add search functionality to SupplierPart list

* Added details to SupplierPartDetail widget

* Link through to supplier company

* Add some more details

* Adds ability to edit SupplierPart information

* Navigate to supplier part list from part detail page

* Display supplier part information on stock item detail page

* Add barcode scan response for SupplierPart

* Refactor barcode scanning code

* Navigate to supplier part detail from stock item page

* Support custom barcode for SupplierPart via app

* Cleanup comment

* linting

* Fix override

* Enable display of supplier list on home screen

* Code cleanup

* Update release noets
This commit is contained in:
Oliver
2023-02-04 09:05:36 +11:00
committed by GitHub
parent ce37d0e757
commit 15bf109296
22 changed files with 798 additions and 295 deletions

@ -24,6 +24,7 @@ import "package:inventree/widget/purchase_order_list.dart";
import "package:inventree/widget/search.dart";
import "package:inventree/widget/snacks.dart";
import "package:inventree/widget/spinner.dart";
import "package:inventree/widget/company_list.dart";
class InvenTreeHomePage extends StatefulWidget {
@ -126,13 +127,13 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
);
}
/*
void _showSuppliers(BuildContext context) {
if (!InvenTreeAPI().checkConnection()) return;
Navigator.push(context, MaterialPageRoute(builder: (context) => CompanyListWidget(L10().suppliers, {"is_supplier": "true"})));
}
/*
void _showManufacturers(BuildContext context) {
if (!InvenTreeAPI().checkConnection()) return;
@ -300,7 +301,7 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
}
));
// Purchase orderes
// Purchase orders
if (homeShowPo) {
tiles.add(_listTile(
context,
@ -312,8 +313,6 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
));
}
// TODO: Add these tiles back in once the features are fleshed out
/*
// Suppliers
if (homeShowSuppliers) {
tiles.add(_listTile(
@ -326,6 +325,10 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
));
}
// TODO: Add these tiles back in once the features are fleshed out
/*
// Manufacturers
if (homeShowManufacturers) {
tiles.add(_listTile(