[flat discount] implemented flat discount on server side