admin: 追加支付回执后重定向到追加回执面板锚点

This commit is contained in:
萝卜
2026-03-17 21:52:52 +08:00
parent c8ef994ec8
commit 489032f04f
2 changed files with 2 additions and 2 deletions

View File

@@ -996,7 +996,7 @@ class PlatformOrderController extends Controller
$redirectUrl .= '?' . \Illuminate\Support\Arr::query(['back' => $safeBack]);
}
return redirect($redirectUrl . '#payment-receipts')
return redirect($redirectUrl . '#add-payment-receipt')
->with('success', '已追加支付回执记录(仅用于对账留痕,不自动改状态)。');
}

View File

@@ -68,7 +68,7 @@ class AdminPlatformOrderAddPaymentReceiptShouldRedirectBackToShowWithAnchorAndBa
$expected = '/admin/platform-orders/' . $order->id . '?' . Arr::query([
'back' => $back,
]) . '#payment-receipts';
]) . '#add-payment-receipt';
$res->assertRedirect($expected);
}