From 837f06688116009f1b3a5bbeb893f32a33a796c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Tue, 17 Mar 2026 22:23:15 +0800 Subject: [PATCH] =?UTF-8?q?admin:=20=E5=B9=B3=E5=8F=B0=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=80=80=E6=AC=BE=E7=9B=B8=E5=85=B3=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E7=82=B9=E5=87=BB=E7=9B=B4=E8=BE=BE=E8=BF=BD=E5=8A=A0?= =?UTF-8?q?=E9=80=80=E6=AC=BE=E9=9D=A2=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/platform_orders/index.blade.php | 2 +- ...PlatformOrderIndexReceiptRefundCountLinksContainBackTest.php | 2 +- ...atformOrderIndexReconcileRefundDeltaLinksContainBackTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 51f2eb2..0605eda 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -1748,7 +1748,7 @@ $refundTotal = (float) $order->refundTotal(); $isRefundInconsistent = (bool) $order->isRefundInconsistent(); - $refundShowUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'refund-receipts'); + $refundShowUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $order->id, $selfWithoutBack, 'add-refund-receipt'); @endphp @if($refundTotal > 0) @if($isRefundInconsistent) diff --git a/tests/Feature/AdminPlatformOrderIndexReceiptRefundCountLinksContainBackTest.php b/tests/Feature/AdminPlatformOrderIndexReceiptRefundCountLinksContainBackTest.php index 0d69369..ba730b8 100644 --- a/tests/Feature/AdminPlatformOrderIndexReceiptRefundCountLinksContainBackTest.php +++ b/tests/Feature/AdminPlatformOrderIndexReceiptRefundCountLinksContainBackTest.php @@ -77,7 +77,7 @@ class AdminPlatformOrderIndexReceiptRefundCountLinksContainBackTest extends Test $refundLink = '/admin/platform-orders/' . $order->id . '?' . Arr::query([ 'back' => $indexSelfWithoutBack, - ]) . '#refund-receipts'; + ]) . '#add-refund-receipt'; $res->assertSee($receiptLink, false); $res->assertSee($refundLink, false); diff --git a/tests/Feature/AdminPlatformOrderIndexReconcileRefundDeltaLinksContainBackTest.php b/tests/Feature/AdminPlatformOrderIndexReconcileRefundDeltaLinksContainBackTest.php index 9d27159..041d21c 100644 --- a/tests/Feature/AdminPlatformOrderIndexReconcileRefundDeltaLinksContainBackTest.php +++ b/tests/Feature/AdminPlatformOrderIndexReconcileRefundDeltaLinksContainBackTest.php @@ -84,7 +84,7 @@ class AdminPlatformOrderIndexReconcileRefundDeltaLinksContainBackTest extends Te $refundShowUrl = '/admin/platform-orders/' . $order->id . '?' . Arr::query([ 'back' => $indexSelfWithoutBack, - ]) . '#refund-receipts'; + ]) . '#add-refund-receipt'; $res->assertSee($reconcileShowUrl, false); $res->assertSee($reconcileFixUrl, false);