Beispiel #1
0
     // print_r($_SESSION);
     $dat = $_REQUEST['kontierung_dat'];
     $kos_typ = $_REQUEST['kos_typ'];
     $kos_id = $_REQUEST['kos_id'];
     $js_reg_pool = "onclick=\"reg_pool()\", 'nix')\"";
     dropdown_pools('Zielpool wählen', 'z_pool', 'z_pool', $js_reg_pool, $kos_typ, $kos_id);
     $js = "onclick=\"setTimeout('reg_pool()', 5);";
     $js = $js . "setTimeout('daj3(\\'ajax/ajax_info.php?option=kont_pos_deactivate&kontierung_dat={$dat}\\', \\'Rechnung aus Pool zusammenstellen\\')', 400);";
     $js = $js . "setTimeout('location.reload()', 1000);\"";
     echo "<input type=button name=\"_snd\" value=\"Eintragen\" class=\"submit\" id=\"_snd\" {$js}>";
     break;
 case "kont_pos_deactivate":
     $dat = $_REQUEST['kontierung_dat'];
     kontierung_pos_deaktivieren($dat);
     $r_obj = new rechnung();
     $r_obj->get_kontierung_obj($dat);
     $pool_id = $_REQUEST['pool_id'];
     insert_in_u_pool($r_obj, $pool_id);
     break;
 case "pool_up":
     $kos_typ = $_REQUEST['kos_typ'];
     $kos_id = $_REQUEST['kos_id'];
     $pp_dat = $_REQUEST['pp_dat'];
     $pos = $_REQUEST['virt_pos'];
     $pool_id = $_REQUEST['pool_id'];
     up($pp_dat, $pos, $pool_id);
     // $rr = new rechnungen();
     // $rr->u_pool_edit($kos_typ,$kos_id);
     break;
 case "pool_down":
     $kos_typ = $_REQUEST['kos_typ'];