@axelor/aos-mobile-stock 8.3.19 → 8.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/alternative-barcode-api.js +1 -1
- package/lib/api/customer-delivery-api.js +1 -1
- package/lib/api/customer-delivery-line-api.js +1 -1
- package/lib/api/index.js +1 -1
- package/lib/api/internal-move-api.js +1 -1
- package/lib/api/internal-move-line-api.js +1 -1
- package/lib/api/inventory-api.js +1 -1
- package/lib/api/inventory-line-api.js +1 -1
- package/lib/api/partner-api.js +1 -1
- package/lib/api/product-api.js +1 -1
- package/lib/api/product-indicators-api.js +1 -1
- package/lib/api/stock-correction-api.js +1 -1
- package/lib/api/stock-correction-reason-api.js +1 -1
- package/lib/api/stock-location-api.js +1 -1
- package/lib/api/stock-location-line-api.js +1 -1
- package/lib/api/stock-move-line-api.js +1 -1
- package/lib/api/supplier-arrival-api.js +1 -1
- package/lib/api/supplier-arrival-line-api.js +1 -1
- package/lib/api/supplier-catalog-api.js +1 -1
- package/lib/api/tracking-number-api.js +1 -1
- package/lib/api/unit-api.js +1 -1
- package/lib/components/atoms/OrderQtyIndicatorCard/OrderQtyIndicatorCard.js +1 -1
- package/lib/components/atoms/StockQtyIndicatorCard/StockQtyIndicatorCard.js +1 -1
- package/lib/components/atoms/index.js +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/molecules/LocationsMoveCard/LocationsMoveCard.js +1 -1
- package/lib/components/molecules/ProductCardDetails/ProductCardDetails.js +1 -1
- package/lib/components/molecules/StockCorrectionCard/StockCorrectionCard.js +1 -1
- package/lib/components/molecules/index.js +1 -1
- package/lib/components/organisms/DescriptionCard/DescriptionCard.js +1 -1
- package/lib/components/organisms/SearchLineContainer/IndicatorBadge.js +1 -1
- package/lib/components/organisms/SearchLineContainer/SearchLineContainer.js +1 -1
- package/lib/components/organisms/SmallPropertyCard/SmallPropertyCard.js +1 -1
- package/lib/components/organisms/StockMoveHeader/StockMoveHeader.js +1 -1
- package/lib/components/organisms/index.js +1 -1
- package/lib/components/templates/AvailableProductsSearchBar/AvailableProductsSearchBar.js +1 -1
- package/lib/components/templates/PartnerSearchBar/PartnerSearchBar.js +1 -1
- package/lib/components/templates/ProductSearchBar/ProductSearchBar.js +1 -1
- package/lib/components/templates/ProductTrackingNumberSearchBar/ProductTrackingNumberSearchBar.js +1 -1
- package/lib/components/templates/StockLocationSearchBar/StockLocationSearchBar.js +1 -1
- package/lib/components/templates/TrackingNumberSearchBar/TrackingNumberSearchBar.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryCard/CustomerDeliveryCard.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryHeader/CustomerDeliveryHeader.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryLineActionCard/CustomerDeliveryLineActionCard.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryLineButtons/CustomerDeliveryLineButtons.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryLineCard/CustomerDeliveryLineCard.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryLineCreationButton/CustomerDeliveryLineCreationButton.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryLineQuantityCard/CustomerDeliveryLineQuantityCard.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryLineTrackingNumberSelect/CustomerDeliveryLineTrackingNumberSelect.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryMovementIndicationCard/CustomerDeliveryMovementIndicationCard.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliveryRealizeButton/CustomerDeliveryRealizeButton.js +1 -1
- package/lib/components/templates/customerDelivery/CustomerDeliverySearchLineContainer/CustomerDeliverySearchLineContainer.js +1 -1
- package/lib/components/templates/customerDelivery/index.js +1 -1
- package/lib/components/templates/index.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveCard/InternalMoveCard.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveCreationButtons/InternalMoveCreationButtons.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveCreationQuantityCard/InternalMoveCreationQuantityCard.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveLineButtons/InternalMoveLineButtons.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveLineCard/InternalMoveLineCard.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveLineNotes/InternalMoveLineNotes.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveLinePicker/InternalMoveLinePicker.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveLineQuantityCard/InternalMoveLineQuantityCard.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveLineTrackingNumberSelect/InternalMoveLineTrackingNumberSelect.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveMovementIndicationCard/InternalMoveMovementIndicationCard.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveRealizeButton/InternalMoveRealizeButton.js +1 -1
- package/lib/components/templates/internalMove/InternalMoveSearchLineContainer/InternalMoveSearchLineContainer.js +1 -1
- package/lib/components/templates/internalMove/index.js +1 -1
- package/lib/components/templates/inventory/InventoryButtons/InventoryButtons.js +1 -1
- package/lib/components/templates/inventory/InventoryCard/InventoryCard.js +1 -1
- package/lib/components/templates/inventory/InventoryDescription/InventoryDescription.js +1 -1
- package/lib/components/templates/inventory/InventoryDetailsHeader/InventoryDetailsHeader.js +1 -1
- package/lib/components/templates/inventory/InventoryHeader/InventoryHeader.js +1 -1
- package/lib/components/templates/inventory/InventoryLineButtons/InventoryLineButtons.js +1 -1
- package/lib/components/templates/inventory/InventoryLineCard/InventoryLineCard.js +1 -1
- package/lib/components/templates/inventory/InventoryLineQuantityCard/InventoryLineQuantityCard.js +1 -1
- package/lib/components/templates/inventory/InventoryLineTrackingNumberSelect/InventoryLineTrackingNumberSelect.js +1 -1
- package/lib/components/templates/inventory/InventoryLocationsMoveCard/InventoryLocationsMoveCard.js +1 -1
- package/lib/components/templates/inventory/InventorySearchLineContainer/InventorySearchLineContainer.js +1 -1
- package/lib/components/templates/inventory/index.js +1 -1
- package/lib/components/templates/product/AvailableStockIndicatorCard/AvailableStockIndicatorCard.js +1 -1
- package/lib/components/templates/product/ProductCard/ProductCard.js +1 -1
- package/lib/components/templates/product/ProductCardInfo/ProductCardInfo.js +1 -1
- package/lib/components/templates/product/ProductCardStockIndicatorList/ProductCardStockIndicatorList.js +1 -1
- package/lib/components/templates/product/ProductCharacteristics/ProductCharacteristics.js +1 -1
- package/lib/components/templates/product/ProductPackingInformations/ProductPackingInformations.js +1 -1
- package/lib/components/templates/product/ProductSeeStockLocationDistribution/ProductSeeStockLocationDistribution.js +1 -1
- package/lib/components/templates/product/ProductStockHeader/ProductStockHeader.js +1 -1
- package/lib/components/templates/product/ProductTrackingNumberSelect/ProductTrackingNumberSelect.js +1 -1
- package/lib/components/templates/product/ProductUnitInformations/ProductUnitInformations.js +1 -1
- package/lib/components/templates/product/ProductVariantButton/ProductVariantButton.js +1 -1
- package/lib/components/templates/product/ProductVariantCard/ProductVariantCard.js +1 -1
- package/lib/components/templates/product/index.js +1 -1
- package/lib/components/templates/stockCorrection/StockCorrectionButtons/StockCorrectionButtons.js +1 -1
- package/lib/components/templates/stockCorrection/StockCorrectionHeader/StockCorrectionHeader.js +1 -1
- package/lib/components/templates/stockCorrection/StockCorrectionHtmlInput/StockCorrectionHtmlInput.js +1 -1
- package/lib/components/templates/stockCorrection/StockCorrectionProductCardInfo/StockCorrectionProductCardInfo.js +1 -1
- package/lib/components/templates/stockCorrection/StockCorrectionQuantityCard/StockCorrectionQuantityCard.js +1 -1
- package/lib/components/templates/stockCorrection/StockCorrectionReasonPicker/StockCorrectionReasonPicker.js +1 -1
- package/lib/components/templates/stockCorrection/StockCorrectionTrackingNumberSelect/StockCorrectionTrackingNumberSelect.js +1 -1
- package/lib/components/templates/stockCorrection/index.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalButtons/SupplierArrivalButtons.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalCard/SupplierArrivalCard.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalHeader/SupplierArrivalHeader.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalLineActionCard/SupplierArrivalLineActionCard.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalLineButtons/SupplierArrivalLineButtons.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalLineCard/SupplierArrivalLineCard.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalLineCreationButton/SupplierArrivalLineCreationButton.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalLineQuantityCard/SupplierArrivalLineQuantityCard.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalMovementIndicationCard/SupplierArrivalMovementIndicationCard.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalOriginInput/SupplierArrivalOriginInput.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalProductName/SupplierArrivalProductName.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalSearchLineContainer/SupplierArrivalSearchLineContainer.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierArrivalTrackingNumberSelect/SupplierArrivalTrackingNumberSelect.js +1 -1
- package/lib/components/templates/supplierArrival/SupplierProductInfo/SupplierProductInfo.js +1 -1
- package/lib/components/templates/supplierArrival/index.js +1 -1
- package/lib/features/alternativeBarcodeSlice.js +1 -1
- package/lib/features/asyncFunctions-index.js +1 -1
- package/lib/features/customerDeliveryLineSlice.d.ts +2 -2
- package/lib/features/customerDeliveryLineSlice.js +14 -34
- package/lib/features/customerDeliveryLineSlice.js.map +1 -1
- package/lib/features/customerDeliverySlice.js +5 -1
- package/lib/features/customerDeliverySlice.js.map +1 -1
- package/lib/features/index.js +1 -1
- package/lib/features/internalMoveLineSlice.d.ts +2 -2
- package/lib/features/internalMoveLineSlice.js +10 -34
- package/lib/features/internalMoveLineSlice.js.map +1 -1
- package/lib/features/internalMoveSlice.js +6 -13
- package/lib/features/internalMoveSlice.js.map +1 -1
- package/lib/features/inventoryLineSlice.d.ts +2 -2
- package/lib/features/inventoryLineSlice.js +15 -39
- package/lib/features/inventoryLineSlice.js.map +1 -1
- package/lib/features/inventorySlice.d.ts +30 -2
- package/lib/features/inventorySlice.js +10 -35
- package/lib/features/inventorySlice.js.map +1 -1
- package/lib/features/partnerSlice.js +1 -1
- package/lib/features/productIndicatorsSlice.js +4 -1
- package/lib/features/productIndicatorsSlice.js.map +1 -1
- package/lib/features/productSlice.js +10 -1
- package/lib/features/productSlice.js.map +1 -1
- package/lib/features/productTrackingNumberSlice.js +1 -1
- package/lib/features/productVariantSlice.js +1 -1
- package/lib/features/racksListSlice.js +4 -1
- package/lib/features/racksListSlice.js.map +1 -1
- package/lib/features/stockCorrectionReasonSlice.js +1 -1
- package/lib/features/stockCorrectionSlice.js +5 -1
- package/lib/features/stockCorrectionSlice.js.map +1 -1
- package/lib/features/stockLocationLineSlice.js +1 -1
- package/lib/features/stockLocationSlice.js +1 -1
- package/lib/features/supplierArrivalLineSlice.d.ts +1 -1
- package/lib/features/supplierArrivalLineSlice.js +11 -20
- package/lib/features/supplierArrivalLineSlice.js.map +1 -1
- package/lib/features/supplierArrivalSlice.js +5 -1
- package/lib/features/supplierArrivalSlice.js.map +1 -1
- package/lib/features/supplierCatalogSlice.js +5 -1
- package/lib/features/supplierCatalogSlice.js.map +1 -1
- package/lib/features/trackingNumberSlice.js +1 -1
- package/lib/features/unitSlice.js +4 -1
- package/lib/features/unitSlice.js.map +1 -1
- package/lib/hooks/customer-delivery-lines.js +1 -1
- package/lib/hooks/index.js +1 -1
- package/lib/hooks/internal-move-lines.js +1 -1
- package/lib/hooks/stock-move-lines.js +1 -1
- package/lib/hooks/supplier-arrival-lines.js +1 -1
- package/lib/hooks/use-product-by-company.js +1 -1
- package/lib/hooks/use-stock-header-actions.js +1 -1
- package/lib/index.js +1 -1
- package/lib/models/index.js +1 -1
- package/lib/models/objectFields.js +1 -1
- package/lib/models/searchFields.js +1 -1
- package/lib/models/sortFields.js +1 -1
- package/lib/models/typeObjects.js +1 -1
- package/lib/screens/auth/UserScreen.js +1 -1
- package/lib/screens/auth/index.js +1 -1
- package/lib/screens/customerDeliveries/CustomerDeliveryDetailScreen.js +1 -1
- package/lib/screens/customerDeliveries/CustomerDeliveryLineCreationScreen.js +1 -1
- package/lib/screens/customerDeliveries/CustomerDeliveryLineDetailScreen.js +1 -1
- package/lib/screens/customerDeliveries/CustomerDeliveryLineListScreen.js +1 -1
- package/lib/screens/customerDeliveries/CustomerDeliveryListScreen.js +1 -1
- package/lib/screens/customerDeliveries/CustomerDeliverySelectProductScreen.js +1 -1
- package/lib/screens/customerDeliveries/CustomerDeliverySelectTrackingScreen.js +1 -1
- package/lib/screens/customerDeliveries/index.js +1 -1
- package/lib/screens/internalMoves/InternalMoveCreationScreen.js +1 -1
- package/lib/screens/internalMoves/InternalMoveDetailsGeneralScreen.js +1 -1
- package/lib/screens/internalMoves/InternalMoveLineDetailsScreen.js +1 -1
- package/lib/screens/internalMoves/InternalMoveLineListScreen.js +1 -1
- package/lib/screens/internalMoves/InternalMoveListScreen.js +1 -1
- package/lib/screens/internalMoves/InternalMoveSelectProductScreen.js +1 -1
- package/lib/screens/internalMoves/InternalMoveSelectTrackingScreen.js +1 -1
- package/lib/screens/internalMoves/index.js +1 -1
- package/lib/screens/inventories/InventoryLineDetailsScreen.js +5 -2
- package/lib/screens/inventories/InventoryLineDetailsScreen.js.map +1 -1
- package/lib/screens/inventories/InventoryLineListScreen.js +1 -1
- package/lib/screens/inventories/InventoryListScreen.js +1 -1
- package/lib/screens/inventories/InventoryPlannedDetailsScreen.js +1 -1
- package/lib/screens/inventories/InventorySelectProductScreen.js +1 -1
- package/lib/screens/inventories/InventorySelectTrackingScreen.js +1 -1
- package/lib/screens/inventories/InventoryStartedDetailsScreen.js +1 -1
- package/lib/screens/inventories/index.js +1 -1
- package/lib/screens/products/ProductDetailsScreen.js +1 -1
- package/lib/screens/products/ProductImageScreen.js +1 -1
- package/lib/screens/products/ProductListScreen.js +1 -1
- package/lib/screens/products/ProductListVariantScreen.js +1 -1
- package/lib/screens/products/ProductStockDetailsScreen.js +1 -1
- package/lib/screens/products/ProductStockIndicatorDetails.js +1 -1
- package/lib/screens/products/index.js +1 -1
- package/lib/screens/stockCorrections/StockCorrectionCreationScreen.js +1 -1
- package/lib/screens/stockCorrections/StockCorrectionDetailsScreen.js +1 -1
- package/lib/screens/stockCorrections/StockCorrectionListScreen.js +1 -1
- package/lib/screens/stockCorrections/index.js +1 -1
- package/lib/screens/supplierArrivals/SupplierArrivalAddTrackingScreen.js +1 -1
- package/lib/screens/supplierArrivals/SupplierArrivalDetailsScreen.js +1 -1
- package/lib/screens/supplierArrivals/SupplierArrivalLineCreationScreen.js +1 -1
- package/lib/screens/supplierArrivals/SupplierArrivalLineDetailScreen.js +15 -19
- package/lib/screens/supplierArrivals/SupplierArrivalLineDetailScreen.js.map +1 -1
- package/lib/screens/supplierArrivals/SupplierArrivalLineListScreen.js +1 -1
- package/lib/screens/supplierArrivals/SupplierArrivalListScreen.js +1 -1
- package/lib/screens/supplierArrivals/SupplierArrivalSelectProductScreen.js +1 -1
- package/lib/screens/supplierArrivals/SupplierArrivalSelectTrackingScreen.js +1 -1
- package/lib/screens/supplierArrivals/index.js +1 -1
- package/lib/types/index.js +1 -1
- package/lib/types/internal-move-creation.js +1 -1
- package/lib/types/inventory.js +1 -1
- package/lib/types/line-verification.js +1 -1
- package/lib/types/stock-indicator.js +1 -1
- package/lib/types/stock-move-line.js +1 -1
- package/lib/types/stock-move.js +1 -1
- package/lib/utils/displayers.js +1 -1
- package/lib/utils/index.js +1 -1
- package/lib/utils/line-navigation.js +1 -1
- package/package.json +3 -3
package/lib/models/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
package/lib/models/sortFields.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -32,8 +32,8 @@ const InventoryLineDetailsScreen = ({ route, navigation }) => {
|
|
|
32
32
|
modelName: 'com.axelor.apps.stock.db.InventoryLine',
|
|
33
33
|
});
|
|
34
34
|
const { inventoryLine: _inventoryLine, loadingInventoryLine } = useSelector(state => state.inventoryLine);
|
|
35
|
-
const productFromId = useProductByCompany(productId ?? inventoryLine?.product?.id);
|
|
36
35
|
const inventoryLine = useMemo(() => (inventoryLineId != null ? _inventoryLine : null), [_inventoryLine, inventoryLineId]);
|
|
36
|
+
const productFromId = useProductByCompany(productId ?? inventoryLine?.product?.id);
|
|
37
37
|
const [loading, setLoading] = useState(true);
|
|
38
38
|
const [rack, setRack] = useState(null);
|
|
39
39
|
const [realQty, setRealQty] = useState(0);
|
|
@@ -60,6 +60,9 @@ const InventoryLineDetailsScreen = ({ route, navigation }) => {
|
|
|
60
60
|
useEffect(() => {
|
|
61
61
|
getInventoryLine();
|
|
62
62
|
}, [getInventoryLine]);
|
|
63
|
+
if (inventoryLineId != null && inventoryLine?.id !== inventoryLineId) {
|
|
64
|
+
return null;
|
|
65
|
+
}
|
|
63
66
|
return (<Screen removeSpaceOnTop={true} fixedItems={<InventoryLineButtons description={description} inventory={inventory} inventoryLine={inventoryLine} rack={rack} realQty={realQty} stockLocation={stockLocation} trackingNumber={trackingNumber} visible={!isTrackingNumberSelectVisible}/>} loading={loading}>
|
|
64
67
|
<HeaderContainer expandableFilter={false} fixedItems={<InventoryHeader reference={inventory.inventorySeq} status={inventory.statusSelect} date={inventory.statusSelect === Inventory?.statusSelect.Planned
|
|
65
68
|
? inventory.plannedStartDateT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InventoryLineDetailsScreen.js","sourceRoot":"","sources":["../../../src/screens/inventories/InventoryLineDetailsScreen.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACvE,OAAO,EACL,aAAa,EACb,eAAe,EACf,0BAA0B,EAC1B,MAAM,GACP,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,QAAQ,GACT,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,eAAe,EACf,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,oBAAoB,EACpB,iCAAiC,EACjC,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,kBAAkB,EAAC,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAC,SAAS,IAAI,aAAa,EAAC,MAAM,aAAa,CAAC;AACvD,OAAO,EAAC,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAEhD,MAAM,oBAAoB,GAAG,uCAAuC,CAAC;AAErE,MAAM,0BAA0B,GAAG,CAAC,EAAC,KAAK,EAAE,UAAU,EAAC,EAAE,EAAE;IACzD,MAAM,EAAC,SAAS,EAAE,eAAe,EAAE,SAAS,EAAC,GAAG,KAAK,CAAC,MAAM,CAAC;IAC7D,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAC7B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,EAAC,SAAS,EAAC,GAAG,QAAQ,EAAE,CAAC;IAC/B,MAAM,EAAC,QAAQ,EAAC,GAAG,YAAY,CAAC;QAC9B,SAAS,EAAE,wCAAwC;KACpD,CAAC,CAAC;IAEH,MAAM,EAAC,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAC,GAAG,WAAW,CACvE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,CAC7B,CAAC;IAEF,MAAM,aAAa,GAAG,
|
|
1
|
+
{"version":3,"file":"InventoryLineDetailsScreen.js","sourceRoot":"","sources":["../../../src/screens/inventories/InventoryLineDetailsScreen.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACvE,OAAO,EACL,aAAa,EACb,eAAe,EACf,0BAA0B,EAC1B,MAAM,GACP,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,QAAQ,GACT,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,eAAe,EACf,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,oBAAoB,EACpB,iCAAiC,EACjC,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,kBAAkB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a,CACZ,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CACpC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACpC,YAAY,CAAC,CAAC,IAAI,CAAC,EACnB,CACH,CACH;MAAA,EAAE,0BAA0B,CAC9B;IAAA,EAAE,MAAM,CAAC,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Axelor Business Solutions
|
|
3
3
|
*
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) 2026 Axelor (<http://axelor.com>).
|
|
5
5
|
*
|
|
6
6
|
* This program is free software: you can redistribute it and/or modify
|
|
7
7
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
@@ -37,7 +37,7 @@ const SupplierArrivalLineDetailScreen = ({ route, navigation }) => {
|
|
|
37
37
|
});
|
|
38
38
|
const { stock: stockConfig } = useSelector(state => state.appConfig);
|
|
39
39
|
const { loadingSupplierArrivalLine, supplierArrivalLine } = useSelector(state => state.supplierArrivalLine);
|
|
40
|
-
const product = useProductByCompany(supplierArrivalLine
|
|
40
|
+
const product = useProductByCompany(supplierArrivalLine?.product?.id ?? productId);
|
|
41
41
|
const trackingNumber = useMemo(() => supplierArrivalLine?.trackingNumber, [supplierArrivalLine]);
|
|
42
42
|
const [toStockLocation, setToStockLocation] = useState(null);
|
|
43
43
|
const [realQty, setRealQty] = useState(0);
|
|
@@ -50,12 +50,10 @@ const SupplierArrivalLineDetailScreen = ({ route, navigation }) => {
|
|
|
50
50
|
setRealQty(StockMoveLine.hideLineQty(supplierArrivalLine, supplierArrival)
|
|
51
51
|
? 0
|
|
52
52
|
: supplierArrivalLine?.realQty || 0);
|
|
53
|
+
const _conformityValue = supplierArrivalLine?.conformitySelect ?? StockMove?.conformitySelect.None;
|
|
53
54
|
setConformity({
|
|
54
|
-
title: getItemTitle(StockMove?.conformitySelect,
|
|
55
|
-
|
|
56
|
-
value: supplierArrivalLine != null
|
|
57
|
-
? supplierArrivalLine.conformitySelect
|
|
58
|
-
: StockMove?.conformitySelect.None,
|
|
55
|
+
title: getItemTitle(StockMove?.conformitySelect, _conformityValue),
|
|
56
|
+
value: _conformityValue,
|
|
59
57
|
});
|
|
60
58
|
setToStockLocation(supplierArrivalLine?.toStockLocation);
|
|
61
59
|
}, [
|
|
@@ -71,13 +69,11 @@ const SupplierArrivalLineDetailScreen = ({ route, navigation }) => {
|
|
|
71
69
|
useEffect(() => {
|
|
72
70
|
dispatch(fetchProductForSupplier({
|
|
73
71
|
supplierId: supplierArrival?.partner?.id,
|
|
74
|
-
productId: supplierArrivalLine
|
|
72
|
+
productId: supplierArrivalLine?.product?.id ?? productId,
|
|
75
73
|
}));
|
|
76
74
|
}, [dispatch, productId, supplierArrival, supplierArrivalLine]);
|
|
77
75
|
const getSupplierArrivalLine = useCallback(() => {
|
|
78
|
-
dispatch(fetchSupplierArrivalLine({
|
|
79
|
-
supplierArrivalLineId: supplierArrivalLineId,
|
|
80
|
-
}));
|
|
76
|
+
dispatch(fetchSupplierArrivalLine({ supplierArrivalLineId }));
|
|
81
77
|
}, [dispatch, supplierArrivalLineId]);
|
|
82
78
|
useEffect(() => {
|
|
83
79
|
getSupplierArrivalLine();
|
|
@@ -96,12 +92,10 @@ const SupplierArrivalLineDetailScreen = ({ route, navigation }) => {
|
|
|
96
92
|
});
|
|
97
93
|
}
|
|
98
94
|
};
|
|
99
|
-
const handleShowProduct = () => {
|
|
100
|
-
navigation.navigate('ProductStockDetailsScreen', {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
};
|
|
104
|
-
const handleTrackingNumberSelection = item => {
|
|
95
|
+
const handleShowProduct = useCallback(() => {
|
|
96
|
+
navigation.navigate('ProductStockDetailsScreen', { product });
|
|
97
|
+
}, [navigation, product]);
|
|
98
|
+
const handleTrackingNumberSelection = useCallback(item => {
|
|
105
99
|
if (item !== null) {
|
|
106
100
|
dispatch(updateStockMoveLineTrackingNumber({
|
|
107
101
|
trackingNumber: item,
|
|
@@ -109,7 +103,7 @@ const SupplierArrivalLineDetailScreen = ({ route, navigation }) => {
|
|
|
109
103
|
stockMoveLineVersion: supplierArrivalLine.version,
|
|
110
104
|
}));
|
|
111
105
|
}
|
|
112
|
-
};
|
|
106
|
+
}, [dispatch, supplierArrivalLine]);
|
|
113
107
|
const conformityList = useMemo(() => {
|
|
114
108
|
const conformityToDisplay = [
|
|
115
109
|
StockMove?.conformitySelect.Compliant,
|
|
@@ -117,6 +111,8 @@ const SupplierArrivalLineDetailScreen = ({ route, navigation }) => {
|
|
|
117
111
|
];
|
|
118
112
|
return getSelectionItems(StockMove?.conformitySelect).filter(({ value }) => conformityToDisplay.includes(value));
|
|
119
113
|
}, [StockMove?.conformitySelect, getSelectionItems]);
|
|
114
|
+
if (supplierArrivalLine?.id !== supplierArrivalLineId)
|
|
115
|
+
return null;
|
|
120
116
|
return (<Screen removeSpaceOnTop={true} fixedItems={<SupplierArrivalLineButtons conformity={conformity} realQty={realQty} toStockLocation={toStockLocation} supplierArrival={supplierArrival} supplierArrivalLine={supplierArrivalLine} trackingNumber={trackingNumber} origin={origin}/>}>
|
|
121
117
|
<HeaderContainer expandableFilter={false} fixedItems={<StockMoveHeader reference={supplierArrival.stockMoveSeq} status={supplierArrival.statusSelect} lineRef={supplierArrivalLine?.name} date={StockMoveType.getStockMoveDate(supplierArrival.statusSelect, supplierArrival)}/>}/>
|
|
122
118
|
<KeyboardAvoidingScrollView style={styles.container} refresh={{
|
|
@@ -125,7 +121,7 @@ const SupplierArrivalLineDetailScreen = ({ route, navigation }) => {
|
|
|
125
121
|
}}>
|
|
126
122
|
<ProductCardInfo onPress={handleShowProduct} picture={product?.picture} code={product?.code} name={product?.name} trackingNumber={trackingNumber?.trackingNumberSeq}/>
|
|
127
123
|
{trackingNumber != null && (<SupplierArrivalOriginInput setOrigin={setOrigin} trackingNumber={trackingNumber} readonly={supplierArrival.statusSelect === StockMove?.statusSelect.Realized}/>)}
|
|
128
|
-
{product
|
|
124
|
+
{product?.trackingNumberConfiguration != null &&
|
|
129
125
|
trackingNumber == null && (<SupplierArrivalTrackingNumberSelect supplierArrival={supplierArrival} supplierArrivalLine={supplierArrivalLine} handleTrackingNumberSelection={handleTrackingNumberSelection} product={product}/>)}
|
|
130
126
|
<SupplierProductInfo />
|
|
131
127
|
<SupplierArrivalLineQuantityCard realQty={realQty} setRealQty={setRealQty} supplierArrival={supplierArrival} supplierArrivalLine={supplierArrivalLine} readonly={readonly}/>
|