order status error fix
This commit is contained in:
parent
5052950b2d
commit
6880370bed
|
|
@ -26,7 +26,7 @@ class OrderResource extends JsonResource
|
|||
public function toArray($request){
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'status' => $this->status_label,
|
||||
'status' => $this->status,
|
||||
'status_label' => trans('sarga-api::app.orders.order-status-'.$this->status),
|
||||
'shipping_method' => $this->shipping_method,
|
||||
'shipping_title' => $this->shipping_title,
|
||||
|
|
|
|||
Loading…
Reference in New Issue