Fixed empty client bug in lot validation
Improved consumption_per_ingredient_per_orders report. Fixed migrations