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

Fix-9127: Add the unique ticket code into the downlad CSV file #9186

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
5 changes: 2 additions & 3 deletions app/controllers/events/view/tickets/attendees/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
},
options: {
tags: this.model.tags

}
},
{
name : 'Order',
width : 190,
valuePath : 'order',
extraValuePaths : ['user'],
valuePath : 'order.identifier',
extraValuePaths : ['order'],
cellComponent : 'ui-table/cell/events/view/tickets/attendees/cell-order'
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
<div class="ui tiny header">
<LinkTo @route="orders.view" @model={{this.record.identifier}}>{{this.record.identifier}}</LinkTo>
<div class="ui basic mini {{order-color this.record.status}} label attendees-margin">
{{this.record.status}}
{{#if this.record}}
<div class="ui tiny header">
<LinkTo @route="orders.view" @model={{this.extraRecords.order.identifier}}>{{this.extraRecords.order.identifier}}</LinkTo>
<div class="ui basic mini {{order-color this.extraRecords.order.status}} label attendees-margin">
{{this.extraRecords.order.status}}
</div>
<div class="sub header">
{{#if this.extraRecords.order.paidVia}}
<span class="weight-800">
{{t 'Payment via'}} {{this.extraRecords.order.paidVia}}
</span>
{{/if}}
{{#if (eq this.extraRecords.order.status 'completed')}}
{{general-date this.extraRecords.order.completedAt 'date-time-short'}}
{{moment-from-now this.extraRecords.order.completedAt}}
{{else}}
{{general-date this.extraRecords.order.createdAt 'date-time-short'}}
{{moment-from-now this.extraRecords.order.createdAt}}
{{/if}}
</div>
</div>
<div class="sub header">
{{#if this.record.paidVia}}
<span class="weight-800">
{{t 'Payment via'}} {{this.record.paidVia}}
</span>
{{/if}}
{{#if (eq this.record.status 'completed')}}
{{general-date this.record.completedAt 'date-time-short'}}
{{moment-from-now this.record.completedAt}}
{{else}}
{{general-date this.record.createdAt 'date-time-short'}}
{{moment-from-now this.record.createdAt}}
{{/if}}
</div>
</div>
{{/if}}
Loading