fixed
This commit is contained in:
parent
4c6481c6df
commit
7eb21a0df1
@ -44,7 +44,7 @@ class SupervisionCompanyCheckLogic extends BaseLogic
|
|||||||
SupervisionCompanyCheck::create([
|
SupervisionCompanyCheck::create([
|
||||||
'project_id' => $params['project_id'],
|
'project_id' => $params['project_id'],
|
||||||
'name' => $params['name'],
|
'name' => $params['name'],
|
||||||
'date' => !empty($params['data']) ? strtotime($params['date']) : 0,
|
'date' => !empty($params['date']) ? strtotime($params['date']) : 0,
|
||||||
'user' => $params['user'],
|
'user' => $params['user'],
|
||||||
'problem_name' => $params['problem_name'],
|
'problem_name' => $params['problem_name'],
|
||||||
'problem_type' => $params['problem_type'],
|
'problem_type' => $params['problem_type'],
|
||||||
@ -75,7 +75,7 @@ class SupervisionCompanyCheckLogic extends BaseLogic
|
|||||||
SupervisionCompanyCheck::where('id', $params['id'])->update([
|
SupervisionCompanyCheck::where('id', $params['id'])->update([
|
||||||
'project_id' => $params['project_id'],
|
'project_id' => $params['project_id'],
|
||||||
'name' => $params['name'],
|
'name' => $params['name'],
|
||||||
'date' => !empty($params['data']) ? strtotime($params['date']) : 0,
|
'date' => !empty($params['date']) ? strtotime($params['date']) : 0,
|
||||||
'user' => $params['user'],
|
'user' => $params['user'],
|
||||||
'problem_name' => $params['problem_name'],
|
'problem_name' => $params['problem_name'],
|
||||||
'problem_type' => $params['problem_type'],
|
'problem_type' => $params['problem_type'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user