public function _indexConfig() { $int_import_setting = IntImportSetting::all('ID', 'NAME'); return view('front.sourceconfig', ['int_import_setting' => $int_import_setting]); }
public function loadplan() { $filterGroups = array('productionFilterGroup' => [['name' => 'IntObjectType', 'independent' => true, 'getMethod' => 'getPreosObjectType'], ['name' => 'ExtensionPhaseType', 'independent' => true, 'getMethod' => 'getPreosPhaseType'], 'IntObjectType' => 'ObjectName'], 'frequenceFilterGroup' => [], 'dateFilterGroup' => array(['id' => 'date_begin', 'name' => 'From date'], ['id' => 'date_end', 'name' => 'To date']), 'extra' => ['IntObjectType', 'ExtensionPhaseType']); $int_import_setting = IntImportSetting::all('ID', 'NAME'); return view('fp.loadplanforecast', ['filters' => $filterGroups, 'int_import_setting' => $int_import_setting]); }