diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 6f35ebe..c15319b 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -441,7 +441,7 @@ {{ $order->order_no }} @if($order->merchant) - {{ $order->merchant->name }} + {{ $order->merchant->name }} @else 未关联站点 @endif @@ -449,7 +449,7 @@ @php $planName = $order->plan_name ?: ($order->plan?->name ?? '未设置'); @endphp @if($order->plan) - {{ $planName }} + {{ $planName }} @else {{ $planName }} @endif @@ -486,7 +486,7 @@ {{ $order->siteSubscription->subscription_no }}
- 订阅ID:{{ $order->siteSubscription->id }} + 订阅ID:{{ $order->siteSubscription->id }}
@else - diff --git a/tests/Feature/AdminPlatformOrderTest.php b/tests/Feature/AdminPlatformOrderTest.php index 3b4f73b..e6503b8 100644 --- a/tests/Feature/AdminPlatformOrderTest.php +++ b/tests/Feature/AdminPlatformOrderTest.php @@ -232,7 +232,7 @@ class AdminPlatformOrderTest extends TestCase ->assertSee('SUB_LINK_0001') ->assertSee('/admin/site-subscriptions/' . $sub->id) ->assertSee('订阅ID:') - ->assertSee('/admin/platform-orders?site_subscription_id=' . $sub->id); + ->assertSee('site_subscription_id=' . $sub->id); // 只看已同步:构造一条带有 subscription_activation 的订单 + 批量同步审计(用于列表展示) PlatformOrder::query()->where('order_no', 'PO202603100101')->update([