feat(platform-orders): 导出与列表补充支付回执统计列
This commit is contained in:
@@ -302,6 +302,7 @@
|
||||
<th>失败原因</th>
|
||||
<th>最近批量同步</th>
|
||||
<th>最近批量生效</th>
|
||||
<th>回执数</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -422,6 +423,16 @@
|
||||
<span class="muted">-</span>
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@php
|
||||
$receiptCount = count((array) (data_get($order->meta, 'payment_receipts', []) ?? []));
|
||||
@endphp
|
||||
@if($receiptCount > 0)
|
||||
<a href="/admin/platform-orders/{{ $order->id }}" class="muted">{{ $receiptCount }}</a>
|
||||
@else
|
||||
<span class="muted">0</span>
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@php
|
||||
$canActivate = ($order->payment_status === 'paid') && ($order->status === 'activated');
|
||||
|
||||
Reference in New Issue
Block a user