feat(admin-dashboard): recent platform orders show merchant and plan meta

This commit is contained in:
萝卜
2026-03-16 16:19:36 +08:00
parent c8496defb2
commit 98004a0a1c
3 changed files with 75 additions and 1 deletions

View File

@@ -339,7 +339,14 @@
@endphp
<tr data-role="recent-platform-order-row" data-order-no="{{ $po->order_no }}">
<td><a class="link" href="{!! $poShowUrl !!}">{{ $po->order_no }}</a></td>
<td>{{ $po->orderTypeLabel() }}</td>
<td>
{{ $po->orderTypeLabel() }}
<div class="muted muted-xs">
{{ (string) (optional($po->merchant)->name ?: ('站点#' . (int) ($po->merchant_id ?? 0))) }}
<span class="muted"></span>
{{ (string) (optional($po->plan)->name ?: ((int) ($po->plan_id ?? 0) > 0 ? ('套餐#' . (int) $po->plan_id) : '-')) }}
</div>
</td>
<td>¥{{ number_format((float) $po->payable_amount, 2) }}</td>
<td>
{{ $po->payment_status }}