diff --git a/admin/xslvorlagen/zahlung.xsl b/admin/xslvorlagen/zahlung.xsl
index f070c8787..79819c078 100644
--- a/admin/xslvorlagen/zahlung.xsl
+++ b/admin/xslvorlagen/zahlung.xsl
@@ -159,14 +159,10 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
+
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/cis/private/profile/resturlaub.php b/cis/private/profile/resturlaub.php
index cf8c5958a..d3d982431 100644
--- a/cis/private/profile/resturlaub.php
+++ b/cis/private/profile/resturlaub.php
@@ -60,15 +60,17 @@
getResturlaubFixangestellte();
+ $i=0;
foreach ($obj->result as $row)
{
- echo '
';
+ echo '
';
echo "
$row->nachname
$row->vorname $row->vornamen
";
echo "
$row->resturlaubstage
";
echo "
$row->mehrarbeitsstunden
";
echo "
$row->updateamum
";
echo '
';
+ $i++;
}
?>
diff --git a/content/ToDo_FASo.html b/content/ToDo_FASo.html
index a630c1099..31a73e6bf 100644
--- a/content/ToDo_FASo.html
+++ b/content/ToDo_FASo.html
@@ -9,7 +9,7 @@ Die Liste ist in Module geteilt. Innerhalb eines Moduls erfolgt die
Auflistung nach Priorität (höchste oben).
Änderungen
-
aktuelles Datum im PDF
+
Fehler
@@ -18,14 +18,6 @@ Auflistung nach Priorität (höchste oben).
Anzahl: Anzahl stimmt nicht immer?
-
Dokumente
-
-
-
Inskriptionsbestätigung: Im Hauptmenü Dokumente
-wählbar. Wenn mehrere Studenten gewählt sind, werden mehrere
-Seiten im PDF produziert. (XSLT fehlt noch)
-
-
Statistik
Als Hauptmenü
@@ -80,6 +72,13 @@ allen auf einmal setzbar
Erledigte Anforderungen
+
Inskriptionsbestätigung: Im Hauptmenü Dokumente
+wählbar. Wenn mehrere Studenten gewählt sind, werden mehrere
+Seiten im PDF produziert. (XSLT fehlt noch)
+14.06.2007 oesi
+
aktuelles Datum im PDF
+14.06.2007 oesi
+
->[Student] für ehem. Unterbrecher
13.06.2007 oesi
Ab- Unterbrecher -> 0.Semester für alle Stg.
diff --git a/content/pdfExport.php b/content/pdfExport.php
index ba0094841..3baf5a2a9 100644
--- a/content/pdfExport.php
+++ b/content/pdfExport.php
@@ -58,8 +58,8 @@ if(isset($_GET['uid']))
$params.='&uid='.$_GET['uid'];
if(isset($_GET['person_id']))
$params.='&person_id='.$_GET['person_id'];
-if(isset($_GET['buchungsnr']))
- $params.='&buchungsnr='.$_GET['buchungsnr'];
+if(isset($_GET['buchungsnummern']))
+ $params.='&buchungsnummern='.$_GET['buchungsnummern'];
if(isset($_GET['stg_kz']))
$params.='&stg_kz='.$_GET['stg_kz'];
if(isset($_GET['ss']))
diff --git a/content/student/interessentkontooverlay.xul.php b/content/student/interessentkontooverlay.xul.php
index 2cbb4735a..268d7f704 100644
--- a/content/student/interessentkontooverlay.xul.php
+++ b/content/student/interessentkontooverlay.xul.php
@@ -57,7 +57,7 @@ echo '';
- ';
+
+
diff --git a/content/student/interessentoverlay.js.php b/content/student/interessentoverlay.js.php
index 76ca15dd6..0b4defa87 100644
--- a/content/student/interessentoverlay.js.php
+++ b/content/student/interessentoverlay.js.php
@@ -1083,6 +1083,39 @@ function InteressentDokumentTreeNichtabgegebenDatasourceRefresh()
// ***************** KONTO ****************************
+// *****
+// * Druckt eine Zahlungsbestaetigung aus
+// *****
+function InteressentKontoZahlungsbestaetigung()
+{
+ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+ var tree = document.getElementById('interessent-konto-tree');
+
+ var start = new Object();
+ var end = new Object();
+ var numRanges = tree.view.selection.getRangeCount();
+ var paramList= '';
+
+ for (var t = 0; t < numRanges; t++)
+ {
+ tree.view.selection.getRangeAt(t,start,end);
+ for (var v = start.value; v <= end.value; v++)
+ {
+ if(!tree.view.getParentIndex(v))
+ {
+ alert('Zum Drucken der Bestaetigung bitte die oberste Buchung waehlen');
+ return false;
+ }
+ var col = tree.columns ? tree.columns["interessent-konto-tree-buchungsnr"] : "interessent-konto-tree-buchungsnr";
+ var buchungsnr=tree.view.getCellText(v,col);
+ paramList += ';'+buchungsnr;
+ }
+ }
+
+ //Ausgewaehlte Nr holen
+ window.open('content/pdfExport.php?xml=konto.rdf.php&xsl=Zahlung&buchungsnummern='+paramList,'Zahlungsbestaetigung', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
+}
+
// ****
// * Wenn eine buchung Ausgewaehlt wird, dann werden
// * die Details geladen und angezeigt
@@ -1199,6 +1232,7 @@ function InteressentKontoDisableFields(val)
document.getElementById('interessent-konto-button-neu').disabled=val;
document.getElementById('interessent-konto-button-gegenbuchung').disabled=val;
document.getElementById('interessent-konto-button-loeschen').disabled=val;
+ document.getElementById('interessent-konto-button-zahlungsbestaetigung').disabled=val;
InteressentKontoDetailDisableFields(true);
}
diff --git a/content/student/studentkontooverlay.xul.php b/content/student/studentkontooverlay.xul.php
index 6162aa2dd..9eb038212 100644
--- a/content/student/studentkontooverlay.xul.php
+++ b/content/student/studentkontooverlay.xul.php
@@ -57,7 +57,7 @@ echo '';
- content/pdfExport.php?xml=konto.rdf.php&xsl=Zahlung&uid='+uid+'&buchungsnr='+buchungsnr,'Zahlungsbestaetigung', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
+ window.open('content/pdfExport.php?xml=konto.rdf.php&xsl=Zahlung&uid='+uid+'&buchungsnummern='+paramList,'Zahlungsbestaetigung', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
}
diff --git a/rdf/konto.rdf.php b/rdf/konto.rdf.php
index 820af5bdd..4cf1587fa 100644
--- a/rdf/konto.rdf.php
+++ b/rdf/konto.rdf.php
@@ -73,6 +73,15 @@ if(isset($_GET['buchungsnr']) && is_numeric($_GET['buchungsnr']))
else
$buchungsnr = '';
+if(isset($_GET['buchungsnummern']))
+{
+ $buchungsnummern = $_GET['buchungsnummern'];
+}
+else
+ $buchungsnummern = '';
+
+
+
$datum = new datum();
$konto = new konto($conn, null, true);
@@ -85,13 +94,11 @@ elseif($buchungsnr!='')
if(!$konto->load($buchungsnr))
die($konto->errormsg);
}
-else
- die('Falsche Parameteruebergabe');
-
// ----------------------------------- RDF --------------------------------------
$rdf_url='http://www.technikum-wien.at/konto';
if ($xmlformat=='rdf')
{
+
?>
\n";
function drawrow_xml($row)
{
- global $datum;
+ global $datum, $btyp;
echo "
@@ -187,11 +194,12 @@ elseif ($xmlformat=='xml')
studiengang_kz."]]>studiensemester_kurzbz."]]>buchungsnr_verweis."]]>
- betrag*(-1)."]]>
+ betrag*(-1))."]]>convertISODate($row->buchungsdatum)."]]>buchungstext."]]>mahnspanne."]]>buchungstyp_kurzbz."]]>
+ buchungstyp_kurzbz]."]]>updateamum."]]>updatevon."]]>insertamum."]]>
@@ -201,6 +209,7 @@ elseif ($xmlformat=='xml')
{
global $conn, $datum;
$pers = new person($conn);
+
$pers->load($row->person_id);
$stg = new studiengang($conn, $row->studiengang_kz);
@@ -222,9 +231,34 @@ elseif ($xmlformat=='xml')
";
}
+ $buchungstyp = new konto($conn);
+ $buchungstyp->getBuchungstyp();
+ $btyp = array();
+
+ foreach ($buchungstyp->result as $row)
+ $btyp[$row->buchungstyp_kurzbz]=$row->beschreibung;
+
if($person_id!='')
foreach ($konto->result as $buchung)
drawrow_xml($buchung);
+ elseif($buchungsnummern!='')
+ {
+ $buchungsnr = split(';',$buchungsnummern);
+ $drawperson=true;
+ foreach($buchungsnr as $bnr)
+ {
+ if($bnr!='')
+ {
+ $konto->load($bnr);
+ if($drawperson)
+ {
+ drawperson_xml($konto);
+ $drawperson=false;
+ }
+ drawrow_xml($konto);
+ }
+ }
+ }
else
{
drawperson_xml($konto);