Add POI feature and imporve the overall backend implementation

This commit is contained in:
Urtzi Alfaro
2025-11-12 15:34:10 +01:00
parent e8096cd979
commit 5783c7ed05
173 changed files with 16862 additions and 9078 deletions

View File

@@ -330,10 +330,11 @@ export const InventoryReviewStep: React.FC<InventoryReviewStepProps> = ({
}
}
// Complete the step with metadata
// Complete the step with metadata and inventory items
onComplete({
inventoryItemsCreated: inventoryItems.length,
salesDataImported: salesImported,
inventoryItems: inventoryItems, // Pass the created items to the next step
});
} catch (error) {
console.error('Error creating inventory items:', error);