admin: 仪表盘最近订单去对账/去核对退款直达可执行动作面板
This commit is contained in:
@@ -849,8 +849,9 @@
|
||||
$bmpaFailedListUrl = $platformOrdersQuickLinks['bmpa_failed'];
|
||||
|
||||
// 扫描行:直达治理锚点(与下方提示块的链接口径保持一致)
|
||||
$scanGoReconcileUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'payment-receipts');
|
||||
$scanGoRefundUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'refund-receipts');
|
||||
// 最短治理路径:从仪表盘直接落到可执行动作面板,避免仅滚动到列表区后还要再找按钮。
|
||||
$scanGoReconcileUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'add-payment-receipt');
|
||||
$scanGoRefundUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'add-refund-receipt');
|
||||
$scanGoSyncFailedUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'sync-failed');
|
||||
$scanGoBmpaFailedUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'bmpa-failed');
|
||||
$scanGoRelationUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders/' . $po->id, $selfWithoutBack, 'relation-subscription');
|
||||
|
||||
@@ -58,7 +58,7 @@ class AdminDashboardRecentPlatformOrdersReconcileMismatchShouldIncludeGoReconcil
|
||||
|
||||
$url = '/admin/platform-orders/' . $order->id . '?' . Arr::query([
|
||||
'back' => '/admin',
|
||||
]) . '#payment-receipts';
|
||||
]) . '#add-payment-receipt';
|
||||
|
||||
$res->assertSee($url, false);
|
||||
$res->assertDontSee('&back=', false);
|
||||
|
||||
@@ -58,7 +58,7 @@ class AdminDashboardRecentPlatformOrdersRefundInconsistentShouldIncludeGoRefundL
|
||||
|
||||
$url = '/admin/platform-orders/' . $order->id . '?' . Arr::query([
|
||||
'back' => '/admin',
|
||||
]) . '#refund-receipts';
|
||||
]) . '#add-refund-receipt';
|
||||
|
||||
$res->assertSee($url, false);
|
||||
$res->assertDontSee('&back=', false);
|
||||
|
||||
Reference in New Issue
Block a user