Exemplo n.º 1
0
 public function index()
 {
     $entities = Entity::all();
     $employees = Employee::all();
     $menu = 'data';
     return View::make('entities.index', compact('employees', 'entities', 'menu'));
 }
Exemplo n.º 2
0
 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') ;
 }
Exemplo n.º 3
0
 public function all($options = array())
 {
     return parent::all($options);
 }
Exemplo n.º 4
0
 public function getShowentity()
 {
     $data_entity = Entity::all();
     return view('sales.show_entity_data')->with('entity', $data_entity);
     // ส่งค่าไปที่ View
 }