id) { return; } $struktur = $this->EinstellungenStruktur(); if($this->app->Secure->GetPOST('speichern')) { foreach($struktur as $name => $val) { $json[$name] = $this->app->Secure->GetPOST($name, '','', 1); if(isset($val['replace'])) { switch($val['replace']) { case 'lieferantennummer': $json[$name] = $this->app->erp->ReplaceLieferantennummer(1,$json[$name],1); break; } } } $json_str = $this->app->DB->real_escape_string(json_encode($json)); $this->app->DB->Update( sprintf( "UPDATE `zahlungsweisen` SET `einstellungen_json` = '%s' WHERE `id` = %d LIMIT 1", $json_str, $this->id ) ); } $modul = $this->app->DB->Select( sprintf( 'SELECT z.modul FROM `zahlungsweisen` AS `z` WHERE z.id = %d LIMIT 1', $this->id ) ); $id = $this->id; $html = ''; $html .= '