Skip to content

Conversation

@YogeshSharma0201
Copy link
Contributor

This PR requires backend changes (fossasia/open-event-server/pull/5528) to be merged first.

Checklist

  • I have read the Contribution & Best practices Guide.
  • My branch is up-to-date with the Upstream development branch.
  • The acceptance, integration, unit tests and linter pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Short description of what this resolves:

  • Admin sales is linked to backend now and doesn't use dummy data.

Fixes #1807

Copy link
Contributor

@abhinavk96 abhinavk96 left a 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.

Copy link
Contributor

@abhinavk96 abhinavk96 left a 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 = [];
Copy link
Contributor

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', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use this.store.findAll()

Copy link
Contributor Author

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.

@shreyanshdwivedi
Copy link
Member

@YogeshSharma0201 great work 🎉

@abhinavk96 abhinavk96 merged commit 0076eca into fossasia:development Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admin sales tab not working

3 participants