/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $onlineForm = $this->onlineFormRepo->getFormByID($id); $formRejectReasons = $this->onlineFormRepo->getFormReceiveRejectReasons($id); $whyRejectedArr = $this->onlineFormRepo->getWhyRejected($id); return View::make('account.forms.processes.receiving.decision', ['pageTitle' => 'Receive Request'], compact('onlineForm', 'formRejectReasons', 'whyRejectedArr')); }