This commit is contained in:
Mekan1206
2026-04-29 22:40:09 +05:00
parent dd633ef7da
commit bc2770c24d
7 changed files with 32 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ class OrderIndexResource extends JsonResource
return [
'id' => $this->id,
'status' => OrderStatus::formattedStatusFor($this->status),
'shipping_method' => OrderShipping::formattedShippingMethod($this->shipping_method),
'shipping_method' => $this->formattedShippingMethod(),
'notes' => $this->notes,
'customer_name' => $this->customer_name,
'customer_phone' => $this->customer_phone,