| 1 | {@ include(common/header) @} |
| 2 | <a href="/openprovider/createcustomer" class="op-button-create">顧客様の追加</a><br /> |
| 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 | </tr> |
| 14 | </thead> |
| 15 | <tbody> |
| 16 | {@ foreach ($data['data']['results'] as $d) @} |
| 17 | <tr> |
| 18 | <td><a href="/openprovider/getcustomer/{{ $d['handle'] }}">{{ $d['name']['full_name'] }}</a></td> |
| 19 | <td>{{ $d['company_name'] }}</td> |
| 20 | <td>{{ $d['email'] }}</td> |
| 21 | <td>{{ $d['handle'] }}</td> |
| 22 | <td></td> |
| 23 | </tr> |
| 24 | {@ endforeach @} |
| 25 | </tbody> |
| 26 | </table> |
| 27 | <p>結果数:{{ $data['data']['total'] }}</p> |
| 28 | {@ else @} |
| 29 | <p>何も見つけられませんでした。</p> |
| 30 | {@ endif @} |
| 31 | {@ include(common/footer) @} |