GWM : removed emp_id from staff

This commit is contained in:
Gowtham M 2025-10-13 09:35:21 +05:30
parent 12aa68ebb4
commit c05f0e5a9f
2 changed files with 1 additions and 4 deletions

View File

@ -122,7 +122,6 @@ class StaffController extends ResourceController
'role_id' => $data['role_id'], 'role_id' => $data['role_id'],
'manager_id' => $data['manager_id'], 'manager_id' => $data['manager_id'],
'handler_id' => $data['handler_id'] ?? null, 'handler_id' => $data['handler_id'] ?? null,
'emp_id' => $data['emp_id'],
'created_by' => $data['created_by'] 'created_by' => $data['created_by']
]; ];
@ -160,7 +159,6 @@ class StaffController extends ResourceController
'email' => $data['email'], 'email' => $data['email'],
'mobile' => $data['mobile'], 'mobile' => $data['mobile'],
'role_id' => $data['role_id'] ?? null, 'role_id' => $data['role_id'] ?? null,
'emp_id' => $data['emp_id'] ?? null,
'handler_id' => $data['handler_id'] ?? null, 'handler_id' => $data['handler_id'] ?? null,
'updated_by' => $data['updated_by'] ?? null, 'updated_by' => $data['updated_by'] ?? null,
]; ];

View File

@ -12,7 +12,6 @@ class StaffModel extends Model
'name', 'name',
'email', 'email',
'mobile', 'mobile',
'emp_id',
'role_id', 'role_id',
'manager_id', 'manager_id',
'handler_id', 'handler_id',