关闭老系统的中药订单同步功能
This commit is contained in:
@@ -25,6 +25,9 @@ class RegisterController extends BaseAppController
|
||||
public function actionRegister()
|
||||
{
|
||||
$post=\Yii::$app->request->post();
|
||||
if (!isset($post['register_type'])) {
|
||||
$post['register_type'] = '0';
|
||||
}
|
||||
$RegisterForm=new RegisterForm();
|
||||
$RegisterForm->attributes=$post;
|
||||
return $RegisterForm->save();
|
||||
@@ -131,6 +134,7 @@ class RegisterController extends BaseAppController
|
||||
'order_number','price',
|
||||
'patient'=>'patient.name',
|
||||
'idcard'=>'patient.id_card',
|
||||
'register_type'=>'type',
|
||||
'mobile'=>'patient.mobile',
|
||||
'status','is_pay','created_at','is_cancel',
|
||||
'cancel_time'=>function($m){
|
||||
|
||||
Reference in New Issue
Block a user