diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php
index 891bb42..2a80da5 100644
--- a/resources/views/admin/platform_orders/index.blade.php
+++ b/resources/views/admin/platform_orders/index.blade.php
@@ -353,8 +353,21 @@
| {{ $order->id }} |
{{ $order->order_no }} |
- {{ $order->merchant?->name ?? '未关联站点' }} |
- {{ $order->plan_name ?: ($order->plan?->name ?? '未设置') }} |
+
+ @if($order->merchant)
+ {{ $order->merchant->name }}
+ @else
+ 未关联站点
+ @endif
+ |
+
+ @php $planName = $order->plan_name ?: ($order->plan?->name ?? '未设置'); @endphp
+ @if($order->plan)
+ {{ $planName }}
+ @else
+ {{ $planName }}
+ @endif
+ |
{{ $order->order_type }} |
{{ $statusLabels[$order->status] ?? $order->status }}
@@ -374,11 +387,11 @@
$syncErr = (string) (data_get($order->meta, 'subscription_activation_error.message') ?? '');
@endphp
@if($syncedId > 0)
- 已同步
+ 已同步
@elseif($syncErr !== '')
- 同步失败
+ 同步失败
@else
- 未同步
+ 未同步
@endif
|
|