added sale invoice and updated the registration code generation workflow
Merge pull request #4729 from edx/muhhshoaib/Ex-54-update-registration-codeUI-and-registration-code-generation-logic

added sale invoice and updated the registration code generation workflow