admin_order_1025
This commit is contained in:
@@ -606,8 +606,7 @@ class Orders extends HD_Controller
|
||||
if (!$bill['file'] || !$bill['money']) {
|
||||
return $this->show_json(SYS_CODE_FAIL, '未上传开票文件或未填写到账金额!');
|
||||
}
|
||||
$info_json = json_decode($row['info_json'], true);
|
||||
if (!$bill['cardidA'] && !$info_json['business_licence']) {
|
||||
if (!$bill['cardidA'] && !$bill['business_licence']) {
|
||||
return $this->show_json(SYS_CODE_FAIL, '未上传用户身份证或营业执照!');
|
||||
}
|
||||
$this->order_bills_model->update(['status' => 1], ['o_id' => $oid]);
|
||||
|
||||
Reference in New Issue
Block a user