changed stock_frozen_upto to stock_frozen_upto_days, and added validation for it in stock ledger