Files
LittleBeast/view/openprovider/listinvoices.maron
2026-05-04 14:44:31 +09:00

31 lines
1.0 KiB
Plaintext

{@ include(common/header) @}
<h1>請求書一覧</h1>
{@ if (isset($data['data']['results'])) @}
<table>
<thead>
<tr>
<th>日時</th>
<th>請求書番号</th>
<th>単殻</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
{@ foreach ($data['data']['results'] as $d) @}
<tr>
<td>{{ $d['creation_date'] }}</td>
<td>{{ $d['invoice_number'] }}</td>
<td>{{ $d['amount']['product']['price'].' '.$d['amount']['product']['currency'] }}</td>
<td><a href="{{ $d['invoice_url'] }}">請求書をダウンロード</a></td>
<td><a href="{{ $d['attachment_url'] }}">添付</a></td>
</tr>
{@ endforeach @}
</tbody>
</table>
<p>結果数:{{ $data['data']['total'] }}</p>
{@ include(common/pagination) @}
{@ else @}
<p>何も見つけられませんでした。</p>
{@ endif @}
{@ include(common/footer) @}