請求の確認

This commit is contained in:
2026-05-04 14:15:29 +09:00
parent 2570955b4e
commit fc777da399
17 changed files with 398 additions and 390 deletions

View File

@@ -1,6 +1,12 @@
{@ include(common/header) @}
<h1>{{ $description }}</h1>
<ul>
<li>請求</li>
<ul>
<li><a href="/openprovider/listinvoices">請求書一覧</a></li>
<li><a href="/openprovider/listpayments">支払一覧</a></li>
<li><a href="/openprovider/listtransactions">トランザクション一覧</a></li>
</ul>
<li>顧客様</li>
<ul>
<li><a href="/openprovider/listcustomers">顧客様検索</a></li>

View File

@@ -0,0 +1,9 @@
{@ include(common/header) @}
<h1>請求書一覧</h1>
{@ kys($data) @}
検索バー<br />
{@ if (isset($data['data']['results'])) @}
{@ else @}
<p>何も見つけられませんでした。</p>
{@ endif @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,9 @@
{@ include(common/header) @}
<h1>支払一覧</h1>
{@ kys($data) @}
検索バー<br />
{@ if (isset($data['data']['results'])) @}
{@ else @}
<p>何も見つけられませんでした。</p>
{@ endif @}
{@ include(common/footer) @}

View File

@@ -0,0 +1,39 @@
{@ include(common/header) @}
<h1>トランザクション一覧</h1>
検索バー<br />
{@ if (isset($data['data']['results'])) @}
<table>
<thead>
<tr>
<th>日時</th>
<th>状況</th>
<th>ドメイン名・商品</th>
<th>数</th>
<th>値段</th>
<th>デビット</th>
<th>クレジット</th>
</tr>
</thead>
<tbody>
{@ foreach ($data['data']['results'] as $d) @}
{$ $pp = $d['price']['product'] $}
{$ $pr = $d['price']['reseller'] $}
{$ $tp = $d['total']['product'] $}
{$ $tr = $d['total']['reseller'] $}
<tr>
<td>{{ $d['creation_date'] }}</td>
<td>{{ $d['action'] }}</td>
<td>{{ $d['subject'] }}</td>
<td>{{ $d['quantity'] }}</td>
<td>{{ $pp['price'].' '.$pp['currency'] }}<br /><span style="color: #777777;">({{ $pr['price'].' '.$pr['currency'] }})</span></td>
<td><span style="color: #ee5040;">{{ $tr['price'].' '.$tr['currency'] }}</span></td>
<td><span style="color: #14c014;"></span></td>
</tr>
{@ endforeach @}
</tbody>
</table>
<p>結果数:{{ $data['data']['total'] }}</p>
{@ else @}
<p>何も見つけられませんでした。</p>
{@ endif @}
{@ include(common/footer) @}