File tree Expand file tree Collapse file tree 5 files changed +5
-4
lines changed
controllers/account/billing/invoices
routes/account/billing/invoices Expand file tree Collapse file tree 5 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
17
17
} ,
18
18
{
19
19
name : 'Date' ,
20
- valuePath : 'createdAt ' ,
20
+ valuePath : 'issuedAt ' ,
21
21
isSortable : true
22
22
} ,
23
23
{
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export default ModelBase.extend({
14
14
transactionId : attr ( 'string' ) ,
15
15
brand : attr ( 'string' ) ,
16
16
createdAt : attr ( 'moment' ) ,
17
+ issuedAt : attr ( 'moment' ) ,
17
18
paymentMode : attr ( 'string' ) ,
18
19
stripeToken : attr ( 'string' ) ,
19
20
last4 : attr ( 'string' ) ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default class extends Route.extend(EmberTableRouteMixin) {
35
35
val : null
36
36
} ,
37
37
{
38
- name : 'created -at' ,
38
+ name : 'issued -at' ,
39
39
op : 'ge' ,
40
40
val : moment ( ) . subtract ( 30 , 'days' ) . toISOString ( )
41
41
}
Original file line number Diff line number Diff line change 26
26
<tbody >
27
27
<tr >
28
28
<td >{{ this.event.name }} </td >
29
- <td >{{ moment-format this.data.createdAt ' MM/DD/YYYY' }} </td >
29
+ <td >{{ moment-format this.data.issuedAt ' MM/DD/YYYY' }} </td >
30
30
<td >{{ moment-format this.data.completedAt ' MM/DD/YYYY' }} </td >
31
31
<td >{{ currency-symbol this.eventCurrency }} {{ format-money this.data.amount }} </td >
32
32
</tr >
Original file line number Diff line number Diff line change 15
15
<strong >{{ t ' Event Name' }} :</strong > {{ this.model.event.name }}
16
16
</div >
17
17
<div class =" item" >
18
- <strong >{{ t ' Date Issued' }} :</strong > {{ moment-format this.model.createdAt ' MM/DD/YYYY' }}
18
+ <strong >{{ t ' Date Issued' }} :</strong > {{ moment-format this.model.issuedAt ' MM/DD/YYYY' }}
19
19
</div >
20
20
<div class =" item" >
21
21
<strong >{{ t ' Total Invoice Amount' }} :</strong > {{ currency-symbol this.model.event.paymentCurrency }} {{ format-money this.model.amount }}
You can’t perform that action at this time.
0 commit comments