From 674ae96597075432950bc144f6c6984c66e79efa Mon Sep 17 00:00:00 2001 From: cris-technikum <31620366+cris-technikum@users.noreply.github.com> Date: Wed, 31 Jan 2018 10:54:54 +0100 Subject: [PATCH] =?UTF-8?q?FAS:=20LINES=20ADDED=20in=20=C3=9Cbernahmebest?= =?UTF-8?q?=C3=A4tigung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2 lines added: . Bestellnummer . Firma (only if firma is not null) --- content/pdfExport.php | 2 ++ rdf/betriebsmittelperson.rdf.php | 6 ++++++ system/xsl/uebernahmebestaetigung_0.xsl | 19 +++++++++++++++++++ 3 files changed, 27 insertions(+) diff --git a/content/pdfExport.php b/content/pdfExport.php index 419cbfed2..a48679948 100644 --- a/content/pdfExport.php +++ b/content/pdfExport.php @@ -45,6 +45,7 @@ require_once('../include/addon.class.php'); require_once('../include/studiengang.class.php'); require_once('../include/studiensemester.class.php'); require_once('../include/studienordnung.class.php'); +//require_once('../include/betriebsmittel.class.php'); $user = get_uid(); $db = new basis_db(); @@ -363,6 +364,7 @@ if(!$xml_found) // Load the XML source $xml_doc = new DOMDocument; +//echo $xml_url; if(!$xml_doc->load($xml_url)) die('unable to load xml: '.$xml_url); diff --git a/rdf/betriebsmittelperson.rdf.php b/rdf/betriebsmittelperson.rdf.php index 736882970..d1b40953d 100644 --- a/rdf/betriebsmittelperson.rdf.php +++ b/rdf/betriebsmittelperson.rdf.php @@ -34,6 +34,7 @@ require_once('../include/datum.class.php'); require_once('../include/organisationseinheit.class.php'); require_once('../include/person.class.php'); require_once('../include/betriebsmitteltyp.class.php'); +require_once('../include/betriebsmittel.class.php'); if(isset($_GET['person_id'])) $person_id = $_GET['person_id']; @@ -109,6 +110,9 @@ else $bmt = new betriebsmitteltyp(); $bmt->load($bmp->betriebsmitteltyp); $typ = $bmt->result[0]->beschreibung; + + $bm = new betriebsmittel($bmp->betriebsmittel_id); + echo ''; echo ' @@ -129,6 +133,8 @@ else nummer.']]> nummer2.']]> betriebsmitteltyp.']]> + bestellung_id.']]> + hersteller.']]> diff --git a/system/xsl/uebernahmebestaetigung_0.xsl b/system/xsl/uebernahmebestaetigung_0.xsl index 37c4a1ea2..5f7ef654d 100644 --- a/system/xsl/uebernahmebestaetigung_0.xsl +++ b/system/xsl/uebernahmebestaetigung_0.xsl @@ -217,6 +217,25 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" + + + Bestellnummer + + + + + + + + + + Firma + + + + + + Inventarnummer