mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Po barcode scan (#458)
* Refactor existing barcode scan endpoint - Break out into new file just for purchase orders * Handle scanning of salesorder * Add new handler for adding items to PO via barcode * Allocate with barcode * Add new string
This commit is contained in:
@ -330,8 +330,12 @@ class InvenTreeAPI {
|
||||
// Does the server support extra fields on stock adjustment actions?
|
||||
bool get supportsStockAdjustExtraFields => isConnected() && apiVersion >= 133;
|
||||
|
||||
// Does the server support receiving items against a PO using barcodes?
|
||||
bool get supportsBarcodePOReceiveEndpoint => isConnected() && apiVersion >= 139;
|
||||
|
||||
// Does the server support adding line items to a PO using barcodes?
|
||||
bool get supportsBarcodePOAddLineEndpoint => isConnected() && apiVersion >= 153;
|
||||
|
||||
// Cached list of plugins (refreshed when we connect to the server)
|
||||
List<InvenTreePlugin> _plugins = [];
|
||||
|
||||
|
Reference in New Issue
Block a user