'; require_once NOALYSS_INCLUDE.'/class/noalyss_parameter_folder.class.php'; if (isset($_POST['record_company'])) { $m = new Noalyss_Parameter_Folder($cn); $m->MY_NAME = $http->post("p_name"); $m->MY_TVA = $http->post("p_tva"); $m->MY_STREET = $http->post("p_street"); $m->MY_NUMBER = $http->post("p_no"); $m->MY_CP = $http->post("p_cp"); $m->MY_COMMUNE = $http->post("p_Commune"); $m->MY_TEL = $http->post("p_tel"); $m->MY_FAX = $http->post("p_fax"); $m->MY_PAYS = $http->post("p_pays"); $m->MY_CHECK_PERIODE =$http->post("p_check_periode"); $m->MY_DATE_SUGGEST = $http->post("p_date_suggest"); $m->MY_ANALYTIC =$http->post("p_compta"); $m->MY_STRICT = $http->post("p_strict"); $m->MY_TVA_USE = $http->post("p_tva_use"); $m->MY_PJ_SUGGEST = $http->post("p_pj"); $m->MY_ALPHANUM = $http->post("p_alphanum"); $m->MY_UPDLAB = $http->post("p_updlab"); $m->MY_STOCK =$http->post("p_stock"); $m->Update(); } $my = new Noalyss_Parameter_Folder($cn); ///// Compta analytic $array = array( array("value" => "ob", 'label' => _("obligatoire")), array("value" => "op", 'label' => _("optionnel")), array("value" => "nu", 'label' => _("non utilisé")) ); $strict_array = array( array('value' => 'N', 'label' => _('Non')), array('value' => 'Y', 'label' => _('Oui')) ); $alpha_num_array[0] = array('value' => 'N', 'label' => _('Non')); $alpha_num_array[1] = array('value' => 'Y', 'label' => _('Oui')); $updlab_array[0] = array('value' => 'N', 'label' => _('Non')); $updlab_array[1] = array('value' => 'Y', 'label' => _('Oui')); $compta = new ISelect(); $compta->table = 1; $compta->selected = $my->MY_ANALYTIC; $strict = new ISelect(); $strict->table = 1; $strict->selected = $my->MY_STRICT; $tva_use = new ISelect(); $tva_use->table = 1; $tva_use->selected = $my->MY_TVA_USE; $pj_suggest = new ISelect(); $pj_suggest->table = 1; $pj_suggest->selected = $my->MY_PJ_SUGGEST; $date_suggest = new ISelect(); $date_suggest->table = 1; $date_suggest->selected = $my->MY_DATE_SUGGEST; $check_periode = new ISelect(); $check_periode->table = 1; $check_periode->selected = $my->MY_CHECK_PERIODE; $alpha_num = new ISelect(); $alpha_num->table = 1; $alpha_num->value = $alpha_num_array; $alpha_num->selected = $my->MY_ALPHANUM; $updlab = new ISelect(); $updlab->table = 1; $updlab->value = $updlab_array; $updlab->selected = $my->MY_UPDLAB; $stock = new ISelect('p_stock'); $stock->value = array( array('value' => 'N', 'label' => _('Non')), array('value' => 'Y', 'label' => _('Oui')) ); $stock->selected = $my->MY_STOCK; $stock->table = 1; // other parameters $all = new IText(); $all->table = 1; echo '
"; echo ''; return; ?>