mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 17:32:18 +00:00
Es koennen nun mehrere Buchungen auf einer Zahlungsbestaetigung gedruckt werden
This commit is contained in:
@@ -9,7 +9,7 @@ Die Liste ist in Module geteilt. Innerhalb eines Moduls erfolgt die
|
||||
Auflistung nach Priorität (höchste oben).<br>
|
||||
<h2>Änderungen</h2>
|
||||
<ul>
|
||||
<li>aktuelles Datum im PDF</li>
|
||||
|
||||
</ul>
|
||||
<br>
|
||||
<h2>Fehler</h2>
|
||||
@@ -18,14 +18,6 @@ Auflistung nach Priorität (höchste oben).<br>
|
||||
<li> Anzahl: Anzahl stimmt nicht immer? </li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2>Dokumente</h2>
|
||||
<ul>
|
||||
|
||||
<li> Inskriptionsbestätigung: Im Hauptmenü Dokumente
|
||||
wählbar. Wenn mehrere Studenten gewählt sind, werden mehrere
|
||||
Seiten im PDF produziert. (XSLT fehlt noch)</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2>Statistik</h2>
|
||||
Als Hauptmenü
|
||||
<ul>
|
||||
@@ -80,6 +72,13 @@ allen auf einmal setzbar</li>
|
||||
<hr>
|
||||
<h2>Erledigte Anforderungen</h2>
|
||||
<ul>
|
||||
<li> Inskriptionsbestätigung: Im Hauptmenü Dokumente
|
||||
wählbar. Wenn mehrere Studenten gewählt sind, werden mehrere
|
||||
Seiten im PDF produziert. (XSLT fehlt noch)<br>
|
||||
14.06.2007 oesi<br><br></li>
|
||||
<li>aktuelles Datum im PDF<br>
|
||||
14.06.2007 oesi<br><br>
|
||||
</li>
|
||||
<li>->[Student] für ehem. Unterbrecher<br>
|
||||
13.06.2007 oesi<br><br></li>
|
||||
<li>Ab- Unterbrecher -> 0.Semester für alle Stg.<br>
|
||||
|
||||
@@ -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']))
|
||||
|
||||
@@ -57,7 +57,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<tree id="interessent-konto-tree" seltype="single" hidecolumnpicker="false" flex="1"
|
||||
<tree id="interessent-konto-tree" seltype="multi" hidecolumnpicker="false" flex="1"
|
||||
datasources="rdf:null" ref="http://www.technikum-wien.at/konto/liste"
|
||||
style="margin-left:10px;margin-right:10px;margin-bottom:5px;margin-top: 10px;" height="100px" enableColumnDrag="true"
|
||||
onselect="InteressentKontoAuswahl()"
|
||||
@@ -113,6 +113,8 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<button id="interessent-konto-button-neu" label="Neu" oncommand="InteressentKontoNeu();" disabled="true"/>
|
||||
<button id="interessent-konto-button-gegenbuchung" label="Gegenbuchung" oncommand="InteressentKontoGegenbuchung();" disabled="true"/>
|
||||
<button id="interessent-konto-button-loeschen" label="Loeschen" oncommand="InteressentKontoDelete();" disabled="true"/>
|
||||
<spacer flex="1"/>
|
||||
<button id="interessent-konto-button-zahlungsbestaetigung" label="Zahlungsbestaetigung drucken" oncommand="InteressentKontoZahlungsbestaetigung();" disabled="true"/>
|
||||
</hbox>
|
||||
<vbox hidden="true">
|
||||
<label value="Buchungsnr" control="interessent-konto-textbox-buchungsnr"/>
|
||||
|
||||
@@ -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('<?php echo APP_ROOT; ?>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);
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<tree id="student-konto-tree" seltype="single" hidecolumnpicker="false" flex="1"
|
||||
<tree id="student-konto-tree" seltype="multi" hidecolumnpicker="false" flex="1"
|
||||
datasources="rdf:null" ref="http://www.technikum-wien.at/konto/liste"
|
||||
style="margin-left:10px;margin-right:10px;margin-bottom:5px;margin-top: 10px;" height="100px" enableColumnDrag="true"
|
||||
onselect="StudentKontoAuswahl()"
|
||||
|
||||
@@ -1574,24 +1574,31 @@ function StudentKontoZahlungsbestaetigung()
|
||||
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||||
var tree = document.getElementById('student-konto-tree');
|
||||
|
||||
if (tree.currentIndex==-1)
|
||||
{
|
||||
alert('Bitte zuerst eine Buchung auswaehlen');
|
||||
return;
|
||||
}
|
||||
var start = new Object();
|
||||
var end = new Object();
|
||||
var numRanges = tree.view.selection.getRangeCount();
|
||||
var paramList= '';
|
||||
|
||||
if(!tree.view.getParentIndex(tree.currentIndex))
|
||||
for (var t = 0; t < numRanges; t++)
|
||||
{
|
||||
alert('Zum Drucken der bestaetigung bitte die oberste Buchung waehlen');
|
||||
return false;
|
||||
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["student-konto-tree-buchungsnr"] : "student-konto-tree-buchungsnr";
|
||||
var buchungsnr=tree.view.getCellText(v,col);
|
||||
paramList += ';'+buchungsnr;
|
||||
}
|
||||
}
|
||||
|
||||
//Ausgewaehlte Nr holen
|
||||
var col = tree.columns ? tree.columns["student-konto-tree-buchungsnr"] : "student-konto-tree-buchungsnr";
|
||||
var buchungsnr=tree.view.getCellText(tree.currentIndex,col);
|
||||
|
||||
//Ausgewaehlte Nr holen
|
||||
var uid = document.getElementById('student-detail-textbox-uid').value;
|
||||
|
||||
window.open('<?php echo APP_ROOT; ?>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('<?php echo APP_ROOT; ?>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');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user