From 6ef241fa2065247e3ac3e18a6972faca889fe401 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Tue, 6 Apr 2021 16:36:46 +0800 Subject: [PATCH] big commit --- app/Http/Resources/CompanyResource.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Resources/CompanyResource.php b/app/Http/Resources/CompanyResource.php index 211b131e..309356ed 100644 --- a/app/Http/Resources/CompanyResource.php +++ b/app/Http/Resources/CompanyResource.php @@ -22,6 +22,7 @@ class CompanyResource extends JsonResource 'id' => $this->id, 'account_no' => $this->reference_no, 'marking' => CompanyConnections::where('module_one', $this->modules->first()->id)->first()->marking, + 'email' => $this->employees->first()->email, 'name' => $this->name, 'type' => $this->type, 'status' => (int) $this->status,