36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
<div class="business-page-header">
|
|
<span class="business-page-title">{{ $title ?? '付款流程统计表' }}</span>
|
|
</div>
|
|
<div class="business-table-container">
|
|
<table class="business-table">
|
|
<thead>
|
|
<tr>
|
|
<th>序号</th>
|
|
<th>付款类型</th>
|
|
<th>总数量</th>
|
|
<th>已完成</th>
|
|
<th>待处理</th>
|
|
<th>总金额</th>
|
|
<th>期间</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($items as $item)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td>{{ $item->payment_type }}</td>
|
|
<td>{{ $item->total_count }}</td>
|
|
<td>{{ $item->completed_count }}</td>
|
|
<td>{{ $item->pending_count }}</td>
|
|
<td>{{ number_format($item->total_amount, 2) }}</td>
|
|
<td>{{ $item->period }}</td>
|
|
|
|
</tr>
|
|
@endforeach
|
|
@if($items->isEmpty())
|
|
<tr><td colspan=7 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div> |