Fix warehouse not updating after product sale (#925)

This commit is contained in:
Kelenius 2023-12-03 12:13:06 +03:00 committed by GitHub
parent 1dc4d01d64
commit aee353a54e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -946,6 +946,7 @@ export class Division {
console.error(`Invalid State: ${state}`); console.error(`Invalid State: ${state}`);
break; break;
} //End switch(this.state) } //End switch(this.state)
this.updateWarehouseSizeUsed(warehouse);
} }
return totalProfit; return totalProfit;
} }