PlatformOrder show: render order_type label with code

This commit is contained in:
萝卜
2026-03-15 01:29:09 +00:00
parent 9a38fa84f3
commit 4773c2a8c7
3 changed files with 69 additions and 1 deletions

View File

@@ -92,7 +92,10 @@
@endif
</td>
</tr>
<tr><th>订单类型</th><td>{{ $order->order_type }}</td></tr>
<tr>
<th>订单类型</th>
<td>{{ $orderTypeLabels[$order->order_type] ?? $order->order_type }} <span class="muted">({{ $order->order_type }})</span></td>
</tr>
<tr><th>订单状态</th><td>{{ $statusLabels[$order->status] ?? $order->status }} <span class="muted">({{ $order->status }})</span></td></tr>
<tr><th>支付状态</th><td>{{ $paymentStatusLabels[$order->payment_status] ?? $order->payment_status }} <span class="muted">({{ $order->payment_status }})</span></td></tr>
<tr><th>应付/已付</th><td>¥{{ number_format((float) $order->payable_amount, 2) }} / ¥{{ number_format((float) $order->paid_amount, 2) }}</td></tr>