| 1 | {@ include(common/header) @} |
| 2 | <h1>トランザクション一覧</h1> |
| 3 | 検索バー<br /> |
| 4 | {@ if (isset($data['data']['results'])) @} |
| 5 | <table> |
| 6 | <thead> |
| 7 | <tr> |
| 8 | <th>日時</th> |
| 9 | <th>状況</th> |
| 10 | <th>ドメイン名・商品</th> |
| 11 | <th>数</th> |
| 12 | <th>値段</th> |
| 13 | <th>デビット</th> |
| 14 | <th>クレジット</th> |
| 15 | </tr> |
| 16 | </thead> |
| 17 | <tbody> |
| 18 | {@ foreach ($data['data']['results'] as $d) @} |
| 19 | {$ $pp = $d['price']['product'] $} |
| 20 | {$ $pr = $d['price']['reseller'] $} |
| 21 | {$ $tp = $d['total']['product'] $} |
| 22 | {$ $tr = $d['total']['reseller'] $} |
| 23 | <tr> |
| 24 | <td>{{ $d['creation_date'] }}</td> |
| 25 | <td>{{ $d['action'] }}</td> |
| 26 | <td>{{ $d['subject'] }}</td> |
| 27 | <td>{{ $d['quantity'] }}</td> |
| 28 | <td>{{ $pp['price'].' '.$pp['currency'] }}<br /><span style="color: #777777;">({{ $pr['price'].' '.$pr['currency'] }})</span></td> |
| 29 | <td><span style="color: #ee5040;">{{ $tr['price'].' '.$tr['currency'] }}</span></td> |
| 30 | <td><span style="color: #14c014;"></span></td> |
| 31 | </tr> |
| 32 | {@ endforeach @} |
| 33 | </tbody> |
| 34 | </table> |
| 35 | <p>結果数:{{ $data['data']['total'] }}</p> |
| 36 | {@ include(common/pagination) @} |
| 37 | {@ else @} |
| 38 | <p>何も見つけられませんでした。</p> |
| 39 | {@ endif @} |
| 40 | {@ include(common/footer) @} |