|
|
@@ -78,6 +78,8 @@ class JobProvider extends BaseModelDataProvider implements ClientArea
|
|
|
}
|
|
|
//hosting_id
|
|
|
$this->formData['hosting_id']= $this->getWhmcsParamByKey('serviceid');
|
|
|
+ //vm_id
|
|
|
+ $this->formData['vm_id'] = $this->model->id;
|
|
|
//fill from data
|
|
|
$this->model->fill($this->formData)->save();
|
|
|
sl('lang')->addReplacementConstant('name', $this->formData['name']);
|