CHANGE_STAFF_MODEL_CHANGE : AADHAVAN
This commit is contained in:
parent
592b159f3e
commit
a70ff36cc6
@ -413,6 +413,7 @@ class MasterController extends BaseController
|
|||||||
$check_its_okay = 0;
|
$check_its_okay = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($data['doc_list'] as $doc) {
|
foreach ($data['doc_list'] as $doc) {
|
||||||
$doc_id_temp = $doc['id'];
|
$doc_id_temp = $doc['id'];
|
||||||
$docStatusByClientId[$doc_id_temp] = $this->db->table('docs_status')
|
$docStatusByClientId[$doc_id_temp] = $this->db->table('docs_status')
|
||||||
|
|||||||
@ -7,7 +7,7 @@ class StaffModel extends Model
|
|||||||
protected $table = 'staff';
|
protected $table = 'staff';
|
||||||
protected $primaryKey = 'staff_id';
|
protected $primaryKey = 'staff_id';
|
||||||
|
|
||||||
protected $allowedFields = [ 'business_id','branch_id','role' , 'name', 'mobile_no' , 'email', 'password' , 'address' , 'city' , 'state' , 'country' , 'pin_code' , 'is_active' ,'created_by','updated_by'];
|
protected $allowedFields = [ 'business_id','role' , 'name', 'mobile_no' , 'email', 'password' , 'address' , 'city' , 'state' , 'country' , 'pin_code' , 'is_active' ,'created_by','updated_by'];
|
||||||
|
|
||||||
protected $beforeInsert = ['beforeInsert'];
|
protected $beforeInsert = ['beforeInsert'];
|
||||||
protected $beforeUpdate = ['beforeUpdate'];
|
protected $beforeUpdate = ['beforeUpdate'];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user