From 09574e0335ec78a3a427734cd700f9ef0f91ba6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihan=20=C5=9Eent=C3=BCrk?= Date: Mon, 9 Mar 2026 22:44:35 +0300 Subject: [PATCH] added code and description fields to category resource --- app/Http/Resources/Setting/Category.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Resources/Setting/Category.php b/app/Http/Resources/Setting/Category.php index 22e377313..b0c3ef1d6 100644 --- a/app/Http/Resources/Setting/Category.php +++ b/app/Http/Resources/Setting/Category.php @@ -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,