|
17 | 17 | {{t 'By order status'}}
|
18 | 18 | </span>
|
19 | 19 | </div>
|
20 |
| - <table class="ui stackable celled table"> |
| 20 | + <table class="ui stackable celled unstackable table"> |
21 | 21 | <thead>
|
22 | 22 | <tr>
|
23 | 23 | <th>{{t 'Order Status'}}</th>
|
|
120 | 120 | </table>
|
121 | 121 | </div>
|
122 | 122 | <br>
|
| 123 | + |
123 | 124 | <div class="row">
|
124 |
| - <table class="ui stackable structured celled table"> |
| 125 | + <table class="ui stackable celled unstackable table"> |
125 | 126 | <thead>
|
126 | 127 | <tr>
|
127 | 128 | <th rowspan="2" class="left aligned">{{t 'Ticket Type'}}</th>
|
128 | 129 | <th rowspan="2" class="left aligned">{{t 'Tickets Capacity Set'}}</th>
|
129 |
| - <th colspan="2" class="ui green inverted segment center aligned">{{t 'Completed Orders '}}</th> |
130 |
| - <th colspan="2" class="ui blue inverted segment center aligned">{{t 'Placed Orders'}}</th> |
131 |
| - <th colspan="2" class="ui yellow inverted segment center aligned">{{t 'Pending Orders '}}</th> |
132 |
| - </tr> |
133 |
| - <tr> |
134 |
| - <th class="right aligned">{{t 'Tickets'}}</th> |
135 |
| - <th class="right aligned">{{t 'Sales'}}</th> |
136 |
| - <th class="right aligned">{{t 'Tickets'}}</th> |
137 |
| - <th class="right aligned">{{t 'Sales'}}</th> |
138 |
| - <th class="right aligned">{{t 'Tickets'}}</th> |
139 |
| - <th class="right aligned">{{t 'Sales'}}</th> |
| 130 | + <th colspan="{{if device.isMobile "1" "2"}}" class="ui green inverted segment center aligned">{{if device.isMobile 'Sales ' ''}}{{t 'Completed Orders '}}</th> |
| 131 | + <th colspan="{{if device.isMobile "1" "2"}}" class="ui blue inverted segment center aligned">{{if device.isMobile 'Sales ' ''}}{{t 'Placed Orders'}}</th> |
| 132 | + <th colspan="{{if device.isMobile "1" "2"}}" class="ui yellow inverted segment center aligned">{{if device.isMobile 'Sales ' ''}}{{t 'Pending Orders '}}</th> |
140 | 133 | </tr>
|
| 134 | + {{#unless device.isMobile}} |
| 135 | + <tr> |
| 136 | + <th class="right aligned">{{t 'Tickets'}}</th> |
| 137 | + <th class="right aligned">{{t 'Sales'}}</th> |
| 138 | + <th class="right aligned">{{t 'Tickets'}}</th> |
| 139 | + <th class="right aligned">{{t 'Sales'}}</th> |
| 140 | + <th class="right aligned">{{t 'Tickets'}}</th> |
| 141 | + <th class="right aligned">{{t 'Sales'}}</th> |
| 142 | + </tr> |
| 143 | + {{/unless}} |
141 | 144 | </thead>
|
142 | 145 | <tbody>
|
143 | 146 | {{#each model.tickets as |ticket|}}
|
144 | 147 | <tr>
|
145 | 148 | <td>{{ticket.name}}</td>
|
146 | 149 | <td>{{ticket.quantity}}</td>
|
147 |
| - <td class="right aligned">{{ticket.orderStatistics.tickets.completed}}</td> |
| 150 | + {{#unless device.isMobile}} |
| 151 | + <td class="right aligned">{{ticket.orderStatistics.tickets.completed}}</td> |
| 152 | + {{/unless}} |
148 | 153 | <td class="right aligned">{{currency-symbol model.eventDetail.paymentCurrency}} {{format-number ticket.orderStatistics.sales.completed}}</td>
|
149 |
| - <td class="right aligned">{{ticket.orderStatistics.tickets.placed}}</td> |
| 154 | + {{#unless device.isMobile}} |
| 155 | + <td class="right aligned">{{ticket.orderStatistics.tickets.placed}}</td> |
| 156 | + {{/unless}} |
150 | 157 | <td class="right aligned">{{currency-symbol model.eventDetail.paymentCurrency}} {{format-number ticket.orderStatistics.sales.placed}}</td>
|
151 |
| - <td class="right aligned">{{ticket.orderStatistics.tickets.pending}}</td> |
| 158 | + {{#unless device.isMobile}} |
| 159 | + <td class="right aligned">{{ticket.orderStatistics.tickets.pending}}</td> |
| 160 | + {{/unless}} |
152 | 161 | <td class="right aligned">{{currency-symbol model.eventDetail.paymentCurrency}} {{format-number ticket.orderStatistics.sales.pending}}</td>
|
153 | 162 | </tr>
|
154 | 163 | {{/each}}
|
155 | 164 | </tbody>
|
156 | 165 | </table>
|
157 | 166 | </div>
|
| 167 | + |
0 commit comments