/** * Show the form for creating a new resource. * GET /project/create * * @return Response */ public function create() { $pagetitle = 'Create Project'; $project_id = Project::selectprojectid(); $bdo = Project::selectbdo_list(); $developer = Project::select_developer_forcompany(); $sub_developer = Project::select_developer_forindiv(); $gencon = Project::select_gencon_forcompany(); $sub_gencon = Project::select_gencon_forindiv(); $proj_mngrdesigner = Project::select_project_managerdesigner_forcompany(); $sub_proj_mngrdesigner = Project::select_project_managerdesigner_forindiv(); $architect = Project::select_architect_forcompany(); $sub_architect = Project::select_architect_forindiv(); $applicator = Project::select_applicator(); $sub_applicator = Project::select_sub_applicator(); $dealersupplier = Project::select_dealersupplier(); $sub_dealersupplier = Project::select_sub_dealersupplier(); $recordlist = Project::select_contactandcompany_list(); $classification = Project::select_projclassification_list(); $category = Project::select_projcategory_list(); $stage = Project::select_projstage_list(); $status = Project::select_projstatus_list(); $cities = City::selectCity(); $provinces = Province::selectProvince_forproject(); return View::make('projects.create', compact('pagetitle', 'project_id', 'bdo', 'developer', 'sub_developer', 'gencon', 'sub_gencon', 'proj_mngrdesigner', 'sub_proj_mngrdesigner', 'architect', 'sub_architect', 'applicator', 'sub_applicator', 'dealersupplier', 'sub_dealersupplier', 'recordlist', 'classification', 'category', 'stage', 'status', 'cities', 'provinces')); }