-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix-9127: Add the unique ticket code into the downlad CSV file
- Loading branch information
lthanhhieu
committed
Mar 27, 2024
1 parent
05212ea
commit e7b0098
Showing
2 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 21 additions & 19 deletions
40
app/templates/components/ui-table/cell/events/view/tickets/attendees/cell-order.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |