fixed product list
This commit is contained in:
parent
746376c9f4
commit
fe9f91e970
|
|
@ -27,7 +27,7 @@ class ProductResource extends JsonResource
|
||||||
'active' => $this->active,
|
'active' => $this->active,
|
||||||
'position' => $this->position,
|
'position' => $this->position,
|
||||||
'created_at' => time_format($this->created_at),
|
'created_at' => time_format($this->created_at),
|
||||||
'deleted_at' => time_format($this->deleted_at),
|
'deleted_at' => $this->deleted_at ? time_format($this->deleted_at) : '',
|
||||||
'url_edit' => admin_route('products.edit', $this->id),
|
'url_edit' => admin_route('products.edit', $this->id),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue