Fix a issue when printing sales from pos app

Change-Id: Ibbe7c257bdd67262bbaf39935e81328652844d72