| xqd
@@ -21,7 +21,7 @@ class Pass extends RowAction
|
|
|
$name = $this->row->docter->name;
|
|
|
try{
|
|
|
$DocOrg = new DocterOrganization();
|
|
|
- $DocOrg->where('id',$id)->update(['state'=>1]);
|
|
|
+ $DocOrg->where('id',$id)->update(['state'=>3]);
|
|
|
// $count = $DocOrg->where('state','!=',1)->where('docter_id',$docter_id)->count();
|
|
|
// if($count == 0){
|
|
|
// Docter::where(['id'=>$docter_id])->update(['is_then'=>1]);
|