Changes
This commit is contained in:
@@ -19,8 +19,9 @@ class ClientPersonDepartmentPreviewResource extends JsonResource
|
||||
'name' => $this->name,
|
||||
'slug' => $this->slug,
|
||||
'academicTitle' => $this->userDetail->academicTitle,
|
||||
'contactPhone' => $this->userDetail->contactPhone,
|
||||
'contactEmail' => $this->userDetail->contactEmail,
|
||||
'contactPhone' => $this->pivot->service_phone,
|
||||
'contactEmail' => $this->pivot->service_email,
|
||||
'cabinet' => $this->pivot->cabinet,
|
||||
'photo' => $this->userDetail->photo,
|
||||
'position' => $this->pivot->position,
|
||||
];
|
||||
|
||||
@@ -19,8 +19,9 @@ class ClientPersonDepartmentTeachPreviewResource extends JsonResource
|
||||
'name' => $this->name,
|
||||
'slug' => $this->slug,
|
||||
'academicTitle' => $this->userDetail->academicTitle,
|
||||
'contactPhone' => $this->userDetail->contactPhone,
|
||||
'contactEmail' => $this->userDetail->contactEmail,
|
||||
'contactPhone' => $this->pivot->service_phone,
|
||||
'contactEmail' => $this->pivot->service_email,
|
||||
'cabinet' => $this->pivot->cabinet,
|
||||
'photo' => $this->userDetail->photo,
|
||||
'position' => $this->pivot->teaching_position,
|
||||
];
|
||||
|
||||
@@ -19,8 +19,9 @@ class ClientPersonDivisionPreviewResource extends JsonResource
|
||||
'name' => $this->name,
|
||||
'slug' => $this->slug,
|
||||
'academicTitle' => $this->userDetail->academicTitle,
|
||||
'contactPhone' => $this->userDetail->contactPhone,
|
||||
'contactEmail' => $this->userDetail->contactEmail,
|
||||
'contactPhone' => $this->pivot->service_phone,
|
||||
'contactEmail' => $this->pivot->service_email,
|
||||
'cabinet' => $this->pivot->cabinet,
|
||||
'photo' => $this->userDetail->photo,
|
||||
'administrativePosition' => $this->pivot->administrativePosition,
|
||||
'sort' => $this->pivot->sort,
|
||||
|
||||
@@ -19,8 +19,9 @@ class ClientPersonFacultyPreviewResource extends JsonResource
|
||||
'name' => $this->name,
|
||||
'slug' => $this->slug,
|
||||
'academicTitle' => $this->userDetail->academicTitle,
|
||||
'contactPhone' => $this->userDetail->contactPhone,
|
||||
'contactEmail' => $this->userDetail->contactEmail,
|
||||
'contactPhone' => $this->pivot->service_phone,
|
||||
'contactEmail' => $this->pivot->service_email,
|
||||
'cabinet' => $this->pivot->cabinet,
|
||||
'photo' => $this->userDetail->photo,
|
||||
'position' => $this->pivot->position,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user