Change query of stock quantity
((ega.post_available + ega.pre_available)-(ega.post_reserved + ega.pre_reserved)) > 0
ask by sir chris.
Merge branch 'master' of https://github.com/globeestate11/estate