From b081a03e695bf42cec7fc55f6d508c8bdf6fe612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Tue, 10 Mar 2026 16:51:15 +0000 Subject: [PATCH] =?UTF-8?q?feat(platform-orders):=20=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=80=80=E6=AC=BE=E6=95=B0=E5=88=97=E4=B8=8E?= =?UTF-8?q?=E9=80=80=E6=AC=BE=E5=BF=AB=E6=8D=B7=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/admin/platform_orders/index.blade.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 55fb529..032bc1f 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -20,6 +20,10 @@ 待生效 可同步订阅 + + 部分退款 + + 已退款 @@ -303,6 +307,7 @@ 最近批量同步 最近批量生效 回执数 + 退款数 操作 @@ -433,6 +438,16 @@ 0 @endif + + @php + $refundCount = count((array) (data_get($order->meta, 'refund_receipts', []) ?? [])); + @endphp + @if($refundCount > 0) + {{ $refundCount }} + @else + 0 + @endif + @php $canActivate = ($order->payment_status === 'paid') && ($order->status === 'activated');