From d10321bc66e6348f4b14019da20883d23ba469ea Mon Sep 17 00:00:00 2001 From: Karl Burkhart Date: Tue, 30 Nov 2010 15:39:05 +0000 Subject: [PATCH] --- wawi/bestellung.php | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/wawi/bestellung.php b/wawi/bestellung.php index edab4e3ff..9cebee697 100644 --- a/wawi/bestellung.php +++ b/wawi/bestellung.php @@ -35,6 +35,7 @@ require_once '../include/wawi_kostenstelle.class.php'; require_once '../include/wawi_bestelldetails.class.php'; require_once '../include/wawi_aufteilung.class.php'; require_once '../include/wawi_bestellstatus.class.php'; +require_once '../include/wawi_tags.class.php'; $aktion =''; @@ -301,8 +302,7 @@ if(isset($_POST['deleteBtnStorno']) && isset($_POST['id'])) extraParams:{'work':'wawi_firma_search' } }).result(function(event, item) { $('#firma_id').val(item[1]); - }); - + }); }); @@ -650,6 +650,8 @@ if($aktion == 'suche') $allStandorte = new standort(); $allStandorte->getStandorteWithTyp('Intern'); $status= new wawi_bestellstatus(); + $bestell_tag = new wawi_tags(); + $bestell_tag->GetTagsByBestellung($bestellung->bestellung_id); $summe= 0; $konto_vorhanden = false; @@ -750,7 +752,25 @@ if($aktion == 'suche') echo "\n"; echo "\n"; echo "\n"; - echo"Storniert:\n"; + echo"Tags:\n"; + $tag_help = $bestell_tag->GetStringTags(); + echo "\n"; + + + echo ' '; + + echo "\n"; + echo "Storniert:\n"; echo ""; $disabled=''; if(!$status->isStatiVorhanden($bestellung->bestellung_id, 'Storno') ) @@ -768,7 +788,6 @@ if($aktion == 'suche') } echo ""; echo "\n"; - echo "
"; //tabelle Positonen @@ -817,6 +836,7 @@ if($aktion == 'suche') var anzahlRows='.$i.'; var uid = "'.$user.'"; + function deleteBtnBestellt(bestellung_id, user_uid) {