Beispiel #1
0
     $r->u_pools_anzeigen($kos_typ, $kos_bez);
     break;
 case "pool_act_deactivate":
     $kos_typ = $_REQUEST['kos_typ'];
     $kos_id = $_REQUEST['kos_id'];
     $pool_id = $_REQUEST['pool_id'];
     $_SESSION['pool_id'] = $pool_id;
     $r = new rechnungen();
     $r->pool_act_deactivate($pool_id, $kos_typ, $kos_id);
     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();