-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtickets.html
38 lines (36 loc) · 953 Bytes
/
tickets.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<template name="tickets">
<button class="btn btn-primary pull-right" data-toggle="modal" data-target="#ticket_modal">
Add ticket
</button>
<h2><i class="fa fa-ticket"></i> Your tickets</h2>
<table class="table table-striped">
<tr>
<th width="30%">Ticket holder</th>
<th width="25%">Ticket type</th>
<th width="15%">Cost</th>
<th width="15%">Payment status</th>
<th width="15%"></th>
</tr>
{{#each list}}
<tr>
<td>{{first_name}} {{last_name}}</td>
<td>{{type}}</td>
<td>{{ticketCost type}}€</td>
<td>
{{#if paid}}
Paid
{{else}}
Not paid yet
{{/if}}
</td>
<td>
{{#if paid}}
{{else}}
<button id="removeTicket" class="btn btn-small btn-danger">Delete</button>
{{/if}}
</td>
</tr>
{{/each}}
</table>
{{> addticket}}
</template>