diff --git a/wawi/bestellung.php b/wawi/bestellung.php index 3b057974a..0b16f6023 100644 --- a/wawi/bestellung.php +++ b/wawi/bestellung.php @@ -53,6 +53,50 @@ if(isset($_POST['getKonto'])) echo ""; exit; } + +if(isset($_POST['getFirma'])) +{ + $id = $_POST['id']; + if(isset($_POST['id'])) + { + $firma = new firma(); + $firma->get_firmaorganisationseinheit(null,$id); + if(count($firma->result)>0) + { + foreach($firma->result as $fi) + { + echo '\n"; + } + } + else + echo ""; + } + else + echo ""; + exit; +} + +if(isset($_POST['getSearchKonto'])) +{ + $id = $_POST['id']; + if(isset($_POST['id'])) + { + $konto = new wawi_konto(); + $konto->getKontoFromOE($id); + if(count($konto->result)>0) + { + foreach($konto->result as $ko) + { + echo '\n"; + } + } + else + echo ""; + } + else + echo ""; + exit; +} ?> @@ -63,11 +107,9 @@ if(isset($_POST['getKonto'])) WaWi Bestellung - + - - @@ -75,10 +117,9 @@ if(isset($_POST['getKonto'])) - + -