-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: Linking Order Invoice Download to server route #2983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6417429 to
aca36c8
Compare
abhinavk96
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Irrelevant commits are present in the PR
- Use es6 getters.
| this.get('notify').success(this.get('l10n').t('Here is your Order Invoice')); | ||
| }) | ||
| .catch(e => { | ||
| console.warn(e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't disable the print thing for now, put it inside the catch block, if for some reason the above fails, it will be a fallback invoice.
aca36c8 to
6e4ec23
Compare
3098219 to
f7735bc
Compare
156cec1 to
867361f
Compare
867361f to
c5304a6
Compare
|
@CosmicCoder96 @uds5501 @shreyanshdwivedi I've made the necessary changes. Added a GIF in the description for the order invoice downloads. |
c5304a6 to
929a961
Compare
929a961 to
9fd45e1
Compare
Added isLoadingTickets & isLoadingInvoice Changed filename & used ES6 getters Made firefox compatible
9fd45e1 to
7c4a24f
Compare
Fixes #2925
Short description of what this resolves:
Downloads Order Invoice as PDF(Similar to tickets). Links the button to the server route.
Changes proposed in this pull request:
downloadFilefor order invoice downloadshrefon-the-fly & supported pdf downloadisLoadingTickets&isLoadingInvoicefor loader.Checklist
developmentbranch.