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