Exemplo n.º 1
0
 public static function arrayCats()
 {
     $catlist = Data_Claims_Cat::all();
     $arrayCats = array();
     $arrayCats[0] = 'Choose Category';
     foreach ($catlist as $value) {
         $arrayCats[$value->claimcatid] = $value->claims_cat_name;
     }
     return $arrayCats;
 }
Exemplo n.º 2
0
 public function get_request()
 {
     $data['claimsCat'] = Cat::arrayCats();
     $data['claimlist'] = Claims_App::listIndClaims();
     return View::make('claims.request.request', $data);
 }