Fix supply navigation and supplier loading
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m29s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m29s
This commit is contained in:
@@ -196,12 +196,16 @@ const listKnownSuppliers = async () => {
|
||||
FROM (
|
||||
SELECT preferred_supplier AS supplier FROM supply_material_details
|
||||
UNION ALL
|
||||
SELECT supplier FROM supply_lots
|
||||
SELECT supplier FROM supply_stock_lots
|
||||
UNION ALL
|
||||
SELECT supplier FROM supply_receipts
|
||||
UNION ALL
|
||||
SELECT supplier FROM supply_fabric_plans
|
||||
UNION ALL
|
||||
SELECT supplier FROM supply_purchase_orders
|
||||
UNION ALL
|
||||
SELECT supplier FROM production_orders
|
||||
UNION ALL
|
||||
SELECT supplier FROM production_yield_supplier_recommendations
|
||||
) sources
|
||||
WHERE NULLIF(BTRIM(supplier), '') IS NOT NULL
|
||||
|
||||
Reference in New Issue
Block a user