Add movement retrieval and update functionality to stock

This commit is contained in:
2026-09-08 13:16:04 +05:30
parent f5872cedaf
commit 7e362be304
5 changed files with 146 additions and 21 deletions
@@ -15,6 +15,8 @@ public interface IStockRepository
// Movements
Task AddMovementAsync(StockMovement movement);
Task<StockMovement?> GetMovementByIdAsync(Guid id);
void UpdateMovement(StockMovement movement);
Task<List<StockMovement>> GetMovementsAsync(Guid? locationId, Guid? itemId, MovementType? type, DateTime? from, DateTime? to, int page, int pageSize);
Task<int> GetMovementsCountAsync(Guid? locationId, Guid? itemId, MovementType? type, DateTime? from, DateTime? to);
}