/** * Execute the job. * * @return bool */ public function handle() { $this->report->user_id = auth()->id(); $this->report->work_order_id = $this->workOrder->getKey(); $this->report->description = $this->request->clean($this->request->input('description')); if ($this->report->save()) { $this->workOrder->complete($this->request->input('status')); return true; } return false; }