| 1 | {@ include(common/header) @} |
| 2 | <h1>請求書一覧</h1> |
| 3 | {@ if (isset($data['data']['results'])) @} |
| 4 | <table> |
| 5 | <thead> |
| 6 | <tr> |
| 7 | <th>日時</th> |
| 8 | <th>請求書番号</th> |
| 9 | <th>単殻</th> |
| 10 | <th></th> |
| 11 | <th></th> |
| 12 | </tr> |
| 13 | </thead> |
| 14 | <tbody> |
| 15 | {@ foreach ($data['data']['results'] as $d) @} |
| 16 | <tr> |
| 17 | <td>{{ $d['creation_date'] }}</td> |
| 18 | <td>{{ $d['invoice_number'] }}</td> |
| 19 | <td>{{ $d['amount']['product']['price'].' '.$d['amount']['product']['currency'] }}</td> |
| 20 | <td><a href="{{ $d['invoice_url'] }}">請求書をダウンロード</a></td> |
| 21 | <td><a href="{{ $d['attachment_url'] }}">添付</a></td> |
| 22 | </tr> |
| 23 | {@ endforeach @} |
| 24 | </tbody> |
| 25 | </table> |
| 26 | <p>結果数:{{ $data['data']['total'] }}</p> |
| 27 | {@ include(common/pagination) @} |
| 28 | {@ else @} |
| 29 | <p>何も見つけられませんでした。</p> |
| 30 | {@ endif @} |
| 31 | {@ include(common/footer) @} |