Esempio n. 1
0
 public static function namaCalon($id)
 {
     $cc = CalonCustomer::find($id);
     if (!$cc) {
         return false;
     }
     return $cc->nama;
 }
 /**
  * Show the form for editing the specified caloncustomer.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $calon = CalonCustomer::find($id);
     return View::make('admin.caloncustomers.edit', compact('calon'));
 }