+ @if($order->siteSubscription)
+ @php
+ $subBack = '/admin/platform-orders/' . $order->id;
+ $openSubUrl2 = '/admin/site-subscriptions/' . $order->siteSubscription->id . '?' . \Illuminate\Support\Arr::query(['back' => $subBack]);
+ @endphp
+
查看已同步订阅
+ @endif
+
@php
$canMarkActivatedOnly = ($order->payment_status === 'paid') && ($order->status !== 'activated');
@endphp
diff --git a/tests/Feature/AdminPlatformOrderShowTest.php b/tests/Feature/AdminPlatformOrderShowTest.php
index 8ccc849..a833b13 100644
--- a/tests/Feature/AdminPlatformOrderShowTest.php
+++ b/tests/Feature/AdminPlatformOrderShowTest.php
@@ -99,6 +99,7 @@ class AdminPlatformOrderShowTest extends TestCase
->assertSee('PO_SHOW_0001')
->assertSee('标记支付并生效')
->assertSee('同步订阅')
+ ->assertSee('查看已同步订阅')
->assertSee('最近批量生效记录')
->assertSee('订阅同步元数据')
->assertSee('退款时间')