fix: refs #7931 Immediately discount order lines from available #2925

Merged
juan merged 8 commits from 7931-availableFix into test 2024-09-06 11:11:36 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d44dec3703 - Show all commits

View File

@ -12,7 +12,7 @@ describe('item getVisibleAvailable()', () => {
const result = await models.Item.getVisibleAvailable(itemFk, warehouseFk, dated, options);
expect(result.available).toEqual(175);
expect(result.available).toEqual(185);
expect(result.visible).toEqual(92);
await tx.rollback();