From 2eea2be6731f1c65764b35d563bf222b1ce79bf6 Mon Sep 17 00:00:00 2001 From: Michal Feher Date: Wed, 23 Aug 2023 14:48:52 +0200 Subject: [PATCH] zmena v project code - zobrazujem aj nazov --- be/app/Http/Resources/ProjectResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/app/Http/Resources/ProjectResource.php b/be/app/Http/Resources/ProjectResource.php index e46c124..8638b0b 100644 --- a/be/app/Http/Resources/ProjectResource.php +++ b/be/app/Http/Resources/ProjectResource.php @@ -18,7 +18,7 @@ class ProjectResource extends JsonResource return [ 'id' => $this->id, 'name' => $this->name, - 'code' => $this->code, + 'code' => $this->code . ' ' . $this->name, 'client' => $this->client, ]; }