admin: 追加支付回执后重定向到追加回执面板锚点
This commit is contained in:
@@ -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', '已追加支付回执记录(仅用于对账留痕,不自动改状态)。');
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ class AdminPlatformOrderAddPaymentReceiptShouldRedirectBackToShowWithAnchorAndBa
|
||||
|
||||
$expected = '/admin/platform-orders/' . $order->id . '?' . Arr::query([
|
||||
'back' => $back,
|
||||
]) . '#payment-receipts';
|
||||
]) . '#add-payment-receipt';
|
||||
|
||||
$res->assertRedirect($expected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user