break; case "u_pool_erstellen": $kos_typ = $_REQUEST['kos_typ']; $kos_bez = $_REQUEST['kos_bez']; $pool_bez = $_REQUEST['pool_bez']; $r = new rechnungen(); $r->u_pool_erstellen($pool_bez, $kos_typ, $kos_bez); break; case "change_text": $art_nr = $_REQUEST['art_nr']; $lieferant_id = $_REQUEST['lieferant_id']; $text_neu = $_REQUEST['text_neu']; // echo "$art_nr $lieferant_id $text_neu"; $r = new rechnungen(); if (!empty($art_nr) && !empty($lieferant_id) && !empty($text_neu)) { $r->artikel_text_update($art_nr, $lieferant_id, $text_neu); } break; case "back2pool": $pp_dat = $_REQUEST['pp_dat']; if (!empty($pp_dat)) { $r = new rechnungen(); $r->back2pool($pp_dat); } break; case "change_kautionsfeld": $feld = $_REQUEST['feld']; $wert = $_REQUEST['wert']; $mv_id = $_REQUEST['mv_id']; $k = new kautionen(); $k->feld_wert_speichern($mv_id, $feld, $wert);