Skip to content
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

Admin: Sales Dashboard Not Showing Events that are Selling Tickets #5163

Closed
mariobehling opened this issue Sep 27, 2020 · 11 comments · Fixed by #5243
Closed

Admin: Sales Dashboard Not Showing Events that are Selling Tickets #5163

mariobehling opened this issue Sep 27, 2020 · 11 comments · Fixed by #5243

Comments

@mariobehling
Copy link
Member

mariobehling commented Sep 27, 2020

The Admin Sales dashboards are not showing events that are selling tickets and which have generated sales.

Expected:

  • All events should actually show up.
  • Events that have not made a sale should show up with 0, but events that have made sales should show up accordingly.
  • Latest events (with a newer date) should be on top of the list.
  • The columns should be sortable where possible

Compare: https://eventyay.com/admin/sales

Screenshot from 2020-09-27 20-36-20

@maze-runnar
Copy link
Contributor

maze-runnar commented Sep 28, 2020

@iamareebjamal is this feature need to add in the backend too?

in routes return this.store.findAll('admin-sales-by-event'); this is returning every event. So no event should be left?

@iamareebjamal
Copy link
Member

We need to make it a table and show events by descending date

@ruhci28
Copy link
Contributor

ruhci28 commented Oct 4, 2020

Hii @iamareebjamal I want to work on this

@iamareebjamal
Copy link
Member

@ruhci28 It is a bit involved and urgent so @maze-runnar would be working on it if you haven't started working on it?

@maze-runnar
Copy link
Contributor

@iamareebjamal after applying sort this is returning only one event, why? without sort it's returning all events.

async model() {
    const some = await this.store.query('admin-sales-by-event',{sort:'name'});
    return some;
  }

Screenshot from 2020-10-05 16-11-46

@maze-runnar
Copy link
Contributor

And does this table needs to be changed like
scrnli_10_5_2020_4-15-23 PM

@iamareebjamal
Copy link
Member

And does this table needs to be changed like

Yes

@iamareebjamal
Copy link
Member

after applying sort this is returning only one event, why? without sort it's returning all events.

Please write the API URL being sent to the server so I can debug

@maze-runnar
Copy link
Contributor

after applying sort this is returning only one event, why? without sort it's returning all events.

Please write the API URL being sent to the server so I can debug

http://127.0.0.1:5000//v1/admin/sales/by-events?sort=name

@iamareebjamal
Copy link
Member

iamareebjamal commented Oct 5, 2020

I'm getting multiple events using the same URL. Without sort, I'm only getting 2 events. With sort name, I'm getting all

@iamareebjamal
Copy link
Member

@maze-runnar Please rebase server, I have fixed the API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants