* fix: handle make_gl_entry in case of cwip enable after puchasing
* fix: invalid variable assignment
* fix: make gl entries if cwip has been booked even if cwip is disabled
* add tests
* fix: conditions
Co-authored-by: Nabin Hait <nabinhait@gmail.com>