Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/models/admin-sales-fee.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ export default ModelBase.extend({
feePercentage : attr('number'),
maximumFee : attr('number'),
revenue : attr('number'),
ticketCount : attr('number')
ticketCount : attr('number'),
eventDate : attr('moment')
});
2 changes: 1 addition & 1 deletion app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ router.map(function() {
this.route('organizers');
this.route('marketer');
this.route('locations');
this.route('fees');
this.route('invoices');
this.route('revenue');
this.route('discounted-events');
});
this.route('sessions', function() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Route from '@ember/routing/route';

export default Route.extend({
titleToken() {
return this.l10n.t('Fees');
return this.l10n.t('Revenue');
},

model() {
Expand Down
4 changes: 2 additions & 2 deletions app/templates/admin/sales.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
{{#link-to 'admin.sales.discounted-events' class='item'}}
{{t 'Discounted events'}}
{{/link-to}}
{{#link-to 'admin.sales.fees' class='item'}}
{{t 'Fees'}}
{{#link-to 'admin.sales.revenue' class='item'}}
{{t 'Revenue'}}
{{/link-to}}
{{#link-to 'admin.sales.invoices' class='item'}}
{{t 'Invoices'}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ui stackable grid">
<div class="row">
<h2 class="ui header column">
{{t 'Fee Summary'}}
{{t 'Revenue Summary'}}
</h2>
</div>
<div class="row">
Expand All @@ -12,6 +12,9 @@
<th rowspan="2">
{{t 'Events'}}
</th>
<th rowspan="2">
{{t 'Event Date '}}
</th>
<th colspan="3" class="ui green inverted segment center aligned">
{{t 'Completed Orders '}}
</th>
Expand All @@ -34,6 +37,9 @@
<td>
{{order.name}}
</td>
<td>
{{moment-format order.eventDate 'MM/DD/YYYY'}}
</td>
<td class="right aligned">
{{order.ticketCount}}
</td>
Expand Down