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);