PlatformOrder show: render order_type label with code
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user