예제 #1
0
 public function createUser()
 {
     $this->checkCurrentUser();
     //echo $currentId = Session::get('currentUser');
     echo Personnel::checkUserAccess();
     return view('user::createUser');
 }
예제 #2
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     Personnel::checkUserAccess();
     return view('rental::property.list', ['data' => Property::getAll(isset($_REQUEST['address_id']) ? $_REQUEST['address_id'] : null)]);
 }