added code and description fields to category resource

This commit is contained in:
Cihan Şentürk 2026-03-09 22:44:35 +03:00
parent 804cb8e568
commit 09574e0335
1 changed files with 2 additions and 0 deletions

View File

@ -17,9 +17,11 @@ class Category extends JsonResource
return [
'id' => $this->id,
'company_id' => $this->company_id,
'code' => $this->code,
'name' => $this->name,
'type' => $this->type,
'color' => $this->color,
'description' => $this->description,
'enabled' => $this->enabled,
'parent_id' => $this->parent_id,
'created_from' => $this->created_from,