admin: 平台订单列表退款相关数字点击直达追加退款面板
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user