File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed
controllers/events/view/tickets/attendees
templates/components/ui-table/cell/events/view/tickets/attendees Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,19 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
16
16
} ,
17
17
{
18
18
name : 'Ticket Name' ,
19
- width : 110 ,
19
+ width : 80 ,
20
20
valuePath : 'ticket.name'
21
21
} ,
22
+ {
23
+ name : 'Date and Time' ,
24
+ width : 140 ,
25
+ valuePath : 'order' ,
26
+ cellComponent : 'ui-table/cell/events/view/tickets/attendees/cell-date'
27
+ } ,
22
28
{
23
29
name : 'Ticket Price' ,
24
30
valuePath : 'ticket.price' ,
25
- width : 100 ,
31
+ width : 90 ,
26
32
extraValuePaths : [ 'event' , 'discountCode' ] ,
27
33
cellComponent : 'ui-table/cell/events/view/tickets/attendees/cell-price'
28
34
} ,
@@ -39,12 +45,12 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
39
45
{
40
46
name : 'Email' ,
41
47
valuePath : 'email' ,
42
- width : 160
48
+ width : 120
43
49
} ,
44
50
{
45
51
name : 'Actions' ,
46
52
valuePath : 'id' ,
47
- width : 130 ,
53
+ width : 90 ,
48
54
extraValuePaths : [ 'order' , 'isCheckedIn' ] ,
49
55
cellComponent : 'ui-table/cell/events/view/tickets/attendees/cell-action' ,
50
56
actions : {
Original file line number Diff line number Diff line change
1
+ {{ #if (eq @record.status ' completed' )}}
2
+ {{ moment-format @record.completedAt ' MMMM DD, YYYY - hh:mm A' }}
3
+ {{ else }}
4
+ {{ moment-format @record.createdAt ' MMMM DD, YYYY - hh:mm A' }}
5
+ {{ /if }}
Original file line number Diff line number Diff line change 1
1
<div class =" ui tiny header" >
2
2
<LinkTo @route =" orders.view" @model ={{ this.record.identifier }} >{{ this.record.identifier }} </LinkTo >
3
- <span class =" weight-400" >
4
- {{ t ' by' }}
5
- {{ this.extraRecords.user.email }}
6
- </span >
7
3
<div class =" ui basic mini {{ order-color this.record.status }} label attendees-margin" >
8
4
{{ this.record.status }}
9
5
</div >
13
9
{{ t ' Payment via' }} {{ this.record.paidVia }}
14
10
</span >
15
11
{{ /if }}
16
- {{ #if (eq this.record.status ' completed' )}}
17
- {{ moment-format this.record.completedAt ' MMMM Do YYYY, h:mm A -' }}
18
- {{ moment-from-now this.record.completedAt }}
19
- {{ else }}
20
- {{ moment-format this.record.createdAt ' MMMM Do YYYY, h:mm A -' }}
21
- {{ moment-from-now this.record.createdAt }}
22
- {{ /if }}
23
12
</div >
24
13
</div >
You can’t perform that action at this time.
0 commit comments