-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix admin sales #1929
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
fix admin sales #1929
Conversation
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.
Excellent work @YogeshSharma0201 , will merge this after the server PR is merged.
b1faa44 to
e556977
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.
Please do these changes for all the model hooks @YogeshSharma0201
| pendingSales : 0.00 | ||
| }, | ||
| async model() { | ||
| let filterOptions = []; |
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.
you can get rid of filterOptions completely.
| pendingSales : 36.00 | ||
| } | ||
| ]; | ||
| return this.store.query('admin-sales-discounted', { |
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.
use this.store.findAll()
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.
@CosmicCoder96 i have made the changes.
|
@YogeshSharma0201 great work 🎉 |
e556977 to
fa1d69d
Compare
fa1d69d to
b0c1315
Compare
This PR requires backend changes (fossasia/open-event-server/pull/5528) to be merged first.
Checklist
developmentbranch.Short description of what this resolves:
Fixes #1807