/**
  * Show the form for creating a new resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function create()
 {
     //
     $obj = new Item();
     $cols = $obj->current_columns();
     $this->data['item'] = $cols;
     $this->data['vendor'] = Vendor::lists('name', 'id');
     $measure = array(0 => 'US-Imperal', 1 => 'CA-Imperal', 2 => 'GB-Imperal');
     $this->data['measure'] = $measure;
     $this->data['body'] = 'public.home.create';
     return $this->output();
 }
 public function create()
 {
     $obj = new Item();
     $cols = $obj->current_columns();
     $this->data['item'] = $cols;
     $new_obj = new ItemRequest();
     return dd($new_obj->rules());
     $this->data['vendor'] = Vendor::lists('name', 'id');
     $measure = array(0 => 'US-Imperal', 1 => 'CA-Imperal', 2 => 'GB-Imperal');
     $this->data['measure'] = $measure;
     $this->data['title'] = "Management Warehouses";
     $this->data['body'] = 'public.home.index';
     return $this->output();
 }