ui: index receipt/refund count links go to panels
This commit is contained in:
@@ -71,13 +71,14 @@ class AdminPlatformOrderIndexReceiptRefundCountLinksContainBackTest extends Test
|
||||
'status' => 'pending',
|
||||
]);
|
||||
|
||||
// 有回执/退款记录时:列表点击应直达“记录区”(用于 spot-check 复核),而不是“新增表单”。
|
||||
$receiptLink = '/admin/platform-orders/' . $order->id . '?' . Arr::query([
|
||||
'back' => $indexSelfWithoutBack,
|
||||
]) . '#add-payment-receipt';
|
||||
]) . '#payment-receipts';
|
||||
|
||||
$refundLink = '/admin/platform-orders/' . $order->id . '?' . Arr::query([
|
||||
'back' => $indexSelfWithoutBack,
|
||||
]) . '#add-refund-receipt';
|
||||
]) . '#refund-receipts';
|
||||
|
||||
$res->assertSee($receiptLink, false);
|
||||
$res->assertSee($refundLink, false);
|
||||
|
||||
Reference in New Issue
Block a user