CHANGE_STAFF_MODEL_CHANGE : AADHAVAN

This commit is contained in:
aadhavan valli 2024-07-09 09:31:54 +05:30
parent 592b159f3e
commit a70ff36cc6
2 changed files with 2 additions and 1 deletions

View File

@ -413,6 +413,7 @@ class MasterController extends BaseController
$check_its_okay = 0;
}
}
foreach ($data['doc_list'] as $doc) {
$doc_id_temp = $doc['id'];
$docStatusByClientId[$doc_id_temp] = $this->db->table('docs_status')

View File

@ -7,7 +7,7 @@ class StaffModel extends Model
protected $table = 'staff';
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 $beforeUpdate = ['beforeUpdate'];