public function readLogDetail($id_policy, $db_key, $session_key) { $reportLog = RmanOutput::where('db_key', $db_key)->where('session_key', $session_key)->get(); $execDetail = RmanBackupJobDetails::where('db_key', $db_key)->where('session_key', $session_key)->first(); $policyDetail = Policy::find($id_policy); //dd($reportLog); return View::make('reports.reportsReadLogDetail')->with('policyDetail', $policyDetail)->with('reportLog', $reportLog)->with('execDetail', $execDetail); }
public function update($id_policy) { Policy::find($id_policy)->fill(Input::all()); }