From 524a6c4ddbd889f8e768ca6a357508914fcfd9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Wed, 18 Mar 2026 19:27:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84:=20=E6=8A=BD=E5=8F=96?= =?UTF-8?q?=E6=91=98=E8=A6=81=E5=8C=BA=E8=BE=85=E5=8A=A9=E6=96=87=E6=A1=88?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_summary_text_link.blade.php | 1 + .../admin/platform_orders/index.blade.php | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 resources/views/admin/platform_orders/_summary_text_link.blade.php diff --git a/resources/views/admin/platform_orders/_summary_text_link.blade.php b/resources/views/admin/platform_orders/_summary_text_link.blade.php new file mode 100644 index 0000000..cdd2339 --- /dev/null +++ b/resources/views/admin/platform_orders/_summary_text_link.blade.php @@ -0,0 +1 @@ +{{ $label ?? '' }} diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 95fbf46..11f890f 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -781,7 +781,11 @@
¥{{ number_format((float) ($summaryStats['total_refunded_amount'] ?? 0), 2) }}
基于 meta.refund_summary.total_amount(缺省回退汇总)
- 查看有退款订单 + @include('admin.platform_orders._summary_text_link', [ + 'role' => 'po-summary-link-view-refund-orders', + 'href' => $safeFullUrlWithQuery(['refund_status' => 'has', 'page' => null]), + 'label' => '查看有退款订单', + ])
@@ -808,7 +812,11 @@
有回执口径:payment_summary.total_amount 存在或 payment_receipts 有记录
- 查看无回执订单 + @include('admin.platform_orders._summary_text_link', [ + 'role' => 'po-summary-link-view-no-receipt-orders', + 'href' => $safeFullUrlWithQuery(['receipt_status' => 'none', 'page' => null]), + 'label' => '查看无回执订单', + ])
@@ -818,7 +826,11 @@
无 payment_summary 且无 payment_receipts
- 查看有回执订单 + @include('admin.platform_orders._summary_text_link', [ + 'role' => 'po-summary-link-view-receipt-orders', + 'href' => $safeFullUrlWithQuery(['receipt_status' => 'has', 'page' => null]), + 'label' => '查看有回执订单', + ])