Resolve Crash in Invoice and Inventory Page when submit without enter quantity