-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: Paid Donation ticket sale stats #5782
fix: Paid Donation ticket sale stats #5782
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/34j6g05wf |
This reverts commit cefad3f.
Codecov Report
@@ Coverage Diff @@
## development #5782 +/- ##
============================================
Coverage 23.50% 23.50%
============================================
Files 512 512
Lines 5445 5445
Branches 63 63
============================================
Hits 1280 1280
Misses 4149 4149
Partials 16 16 Continue to review full report at Codecov.
|
@@ -4,7 +4,7 @@ | |||
</div> | |||
<div class="ui {{if this.device.isMobile 'horizontal'}} three statistics"> | |||
<div class="statistic"><div class="value">{{this.totalOrders}}</div><div class="label">{{t 'Orders'}}</div></div> | |||
<div class="statistic"><div class="value">{{round this.totalAmount decimals=2}}</div><div class="label">{{t 'Sales'}}{{#if this.totalAmount}}({{currency-symbol this.model.eventDetail.paymentCurrency}}){{/if}}</div></div> | |||
<div class="statistic"><div class="value">{{if this.totalAmount (round this.totalAmount decimals=2) '0.00'}}</div><div class="label">{{t 'Sales'}}{{#if this.totalAmount}}({{currency-symbol this.model.eventDetail.paymentCurrency}}){{/if}}</div></div> |
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.
Revert please. Another PR is handling this
Fixes #5781
Short description of what this resolves:
Earlier:-- Paid donation tickets do not show up on the orders overview page. The calculation of tickets sales works correctly. However the donation tickets show 0 in the table.
this PR resolve this.
screenshots
before
![before today](https://user-images.githubusercontent.com/72552281/100455793-55cbdd80-30e5-11eb-8359-e175fdc42cec.png)
after
Checklist
development
branch.