[flat discount] added flat discount in print format and all selling doctypes