refactor: drop QuantityOnHand from catalog import/export
Part of removing inventory quantity tracking; existing seed JSON keeps the field on disk but it's now ignored on import.
This commit is contained in:
@@ -362,7 +362,6 @@ public class CatalogService
|
||||
MaterialId = material.Id,
|
||||
LengthInches = dto.LengthInches,
|
||||
Name = dto.Name,
|
||||
QuantityOnHand = dto.QuantityOnHand,
|
||||
Notes = dto.Notes,
|
||||
CreatedAt = DateTime.UtcNow
|
||||
};
|
||||
@@ -388,7 +387,6 @@ public class CatalogService
|
||||
{
|
||||
LengthInches = s.LengthInches,
|
||||
Name = s.Name,
|
||||
QuantityOnHand = s.QuantityOnHand,
|
||||
Notes = s.Notes
|
||||
}).ToList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user