請求の確認
This commit is contained in:
@@ -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>
|
||||
|
||||
9
view/openprovider/listinvoices.maron
Normal file
9
view/openprovider/listinvoices.maron
Normal 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) @}
|
||||
9
view/openprovider/listpayments.maron
Normal file
9
view/openprovider/listpayments.maron
Normal 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) @}
|
||||
39
view/openprovider/listtransactions.maron
Normal file
39
view/openprovider/listtransactions.maron
Normal 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) @}
|
||||
Reference in New Issue
Block a user