public function index()
 {
     $entities = Entity::all();
     $employees = Employee::all();
     $menu = 'data';
     return View::make('entities.index', compact('employees', 'entities', 'menu'));
 }
 public function getShowentity()
 {
     $data_entity = Entity::all();
     //return  view('books.showbook_data')->with('book',$data_book) ; // ส่งค่าไปที่ View\
     return view('sales.show_entity_data')->with('entity', $data_entity);
     // ส่งค่าไปที่ View
     //return  view('sales.show_entity_data') ;
 }
Beispiel #3
0
 public function all($options = array())
 {
     return parent::all($options);
 }
Beispiel #4
0
 public function getShowentity()
 {
     $data_entity = Entity::all();
     return view('sales.show_entity_data')->with('entity', $data_entity);
     // ส่งค่าไปที่ View
 }