PlatformOrder show: render order_type label with code
This commit is contained in:
@@ -335,6 +335,7 @@ class PlatformOrderController extends Controller
|
||||
->values(),
|
||||
'statusLabels' => $this->statusLabels(),
|
||||
'paymentStatusLabels' => $this->paymentStatusLabels(),
|
||||
'orderTypeLabels' => $this->orderTypeLabels(),
|
||||
'summaryStats' => [
|
||||
'total_orders' => (clone $baseQuery)->count(),
|
||||
'paid_orders' => (clone $baseQuery)->where('payment_status', 'paid')->count(),
|
||||
@@ -461,6 +462,7 @@ class PlatformOrderController extends Controller
|
||||
'order' => $order,
|
||||
'statusLabels' => $this->statusLabels(),
|
||||
'paymentStatusLabels' => $this->paymentStatusLabels(),
|
||||
'orderTypeLabels' => $this->orderTypeLabels(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user