mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
- Sammelzeugnis und Studenten Plausicheck ins FAS integriert
- Sammelzeugnis kann nun für mehrere Studenten gleichzeitig erstellt werden - Plausicheck kann auf Studiengang gefiltert werden
This commit is contained in:
@@ -106,6 +106,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/fasoverlay.xul.php"?>';
|
||||
<command id="menu-dokumente-inskriptionsbestaetigung:command" oncommand="StudentPrintInskriptionsbestaetigung();"/>
|
||||
<command id="menu-dokumente-zeugnis:command" oncommand="StudentCreateZeugnis('Zeugnis');"/>
|
||||
<command id="menu-dokumente-zeugniseng:command" oncommand="StudentCreateZeugnis('ZeugnisEng');"/>
|
||||
<command id="menu-dokumente-sammelzeugnis:command" oncommand="StudentCreateSammelzeugnis('Sammelzeugnis');"/>
|
||||
<command id="menu-dokumente-diplsupplement:command" oncommand="StudentCreateDiplSupplement();"/>
|
||||
<command id="menu-dokumente-studienerfolg-normal:command" oncommand="StudentCreateStudienerfolg('Studienerfolg');"/>
|
||||
<command id="menu-dokumente-studienerfolg-finanzamt:command" oncommand="StudentCreateStudienerfolg('Studienerfolg','finanzamt');"/>
|
||||
@@ -134,6 +135,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/fasoverlay.xul.php"?>';
|
||||
<command id="menu-bis-mitarbeiter-checkverwendung:command" oncommand="BISMitarbeiterCheckVerwendung();"/>
|
||||
<command id="menu-bis-mitarbeiter-checkfunktion:command" oncommand="BISMitarbeiterCheckFunktion();"/>
|
||||
<command id="menu-bis-studenten-export:command" oncommand="BISStudentenExport();"/>
|
||||
<command id="menu-bis-studenten-checkstudent:command" oncommand="BISStudentenPlausicheck();"/>
|
||||
<command id="menu-help-about:command" oncommand="OpenAboutDialog()"/>
|
||||
<command id="menu-help-manual:command" oncommand="OpenManual()"/>
|
||||
<command id="menu-help-todo:command" oncommand="OpenToDoDialog()"/>
|
||||
@@ -466,6 +468,12 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/fasoverlay.xul.php"?>';
|
||||
label = "&menu-dokumente-zeugniseng.label;"
|
||||
command = "menu-dokumente-zeugniseng:command"
|
||||
accesskey = "&menu-dokumente-zeugniseng.accesskey;"/>
|
||||
<menuitem
|
||||
id = "menu-dokumente-sammelzeugnis"
|
||||
key = "&menu-dokumente-sammelzeugnis.key;"
|
||||
label = "&menu-dokumente-sammelzeugnis.label;"
|
||||
command = "menu-dokumente-sammelzeugnis:command"
|
||||
accesskey = "&menu-dokumente-sammelzeugnis.accesskey;"/>
|
||||
<menuitem
|
||||
id = "menu-dokumente-diplsupplement"
|
||||
key = "menu-dokumente-diplsupplement:key"
|
||||
@@ -733,6 +741,12 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/fasoverlay.xul.php"?>';
|
||||
label = "&menu-bis-studenten-export.label;"
|
||||
command = "menu-bis-studenten-export:command"
|
||||
accesskey = "&menu-bis-studenten-export.accesskey;"/>
|
||||
<menuitem
|
||||
id = "menu-bis-studenten-checkstudent"
|
||||
key = "menu-bis-studenten-checkstudent:key"
|
||||
label = "&menu-bis-studenten-checkstudent.label;"
|
||||
command = "menu-bis-studenten-checkstudent:command"
|
||||
accesskey = "&menu-bis-studenten-checkstudent.accesskey;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
</menupopup>
|
||||
|
||||
@@ -1290,6 +1290,33 @@ function BISStudentenExport()
|
||||
}
|
||||
}
|
||||
|
||||
// ****
|
||||
// * oeffnet Script mit Plausibilitaetspruefungen eines Studiengangs
|
||||
// ****
|
||||
function BISStudentenPlausicheck()
|
||||
{
|
||||
var tree=document.getElementById('tree-verband');
|
||||
|
||||
//Wenn nichts markiert wurde -> beenden
|
||||
if(tree.currentIndex==-1)
|
||||
{
|
||||
alert('Bitte einen Studiengang auswaehlen');
|
||||
return;
|
||||
}
|
||||
|
||||
col = tree.columns ? tree.columns["stg_kz"] : "stg_kz";
|
||||
var stg_kz=tree.view.getCellText(tree.currentIndex,col);
|
||||
|
||||
if(stg_kz!='')
|
||||
{
|
||||
window.open('<?php echo APP_ROOT ?>system/checkStudenten.php?stg_kz='+stg_kz,'StudentenPlausibilitaetscheck','');
|
||||
}
|
||||
else
|
||||
{
|
||||
alert('Bitte einen Studiengang auswaehlen');
|
||||
}
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Oeffnet den About Dialog
|
||||
// ****
|
||||
|
||||
@@ -2491,6 +2491,41 @@ function StudentCreateZeugnis(xsl)
|
||||
window.open('<?php echo APP_ROOT; ?>content/pdfExport.php?xml=zeugnis.rdf.php&xsl='+xsl+'&uid='+paramList+'&ss='+ss+'&xsl_stg_kz='+xsl_stg_kz,'Zeugnis', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Erstellt das Sammelzeugnis fuer einen Studenten
|
||||
// ****
|
||||
function StudentCreateSammelzeugnis(xsl)
|
||||
{
|
||||
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
||||
|
||||
tree = document.getElementById('student-tree');
|
||||
|
||||
//Markierte Studenten holen
|
||||
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++)
|
||||
{
|
||||
var uid = getTreeCellText(tree, 'student-treecol-uid', v);
|
||||
paramList += ';'+uid;
|
||||
}
|
||||
}
|
||||
var xsl_stg_kz = document.getElementById('student-prestudent-menulist-studiengang_kz').value
|
||||
|
||||
if(paramList.replace(";",'')=='')
|
||||
{
|
||||
alert('Bitte einen Studenten auswaehlen');
|
||||
return false;
|
||||
}
|
||||
|
||||
//PDF erzeugen
|
||||
window.open('<?php echo APP_ROOT; ?>content/pdfExport.php?xml=sammelzeugnis.rdf.php&xsl='+xsl+'&uid='+paramList+'&xsl_stg_kz='+xsl_stg_kz,'Sammelzeugnis', 'height=200,width=350,left=0,top=0,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
|
||||
}
|
||||
// ****
|
||||
// * Laedt ein Zeugnis dass in der DB gespeichert ist
|
||||
// ****
|
||||
|
||||
Reference in New Issue
Block a user