mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Alternatives Outputformat nun auch für Studienblatt
Studienblatt kann nun auch als .odt und .doc direkt aus dem FAS generiert werden.
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ foreach($addon_obj->result as $addon)
|
||||
<command id="menu-dokumente-studienerfolgeng-allesemester-finanzamt:command" oncommand="StudentCreateStudienerfolg('StudienerfolgEng','finanzamt', '', 'true');"/>
|
||||
<command id="menu-dokumente-accountinfoblatt:command" oncommand="PrintAccountInfoBlatt();"/>
|
||||
<command id="menu-dokumente-zutrittskarte:command" oncommand="PrintZutrittskarte();"/>
|
||||
<command id="menu-dokumente-studienblatt:command" oncommand="PrintStudienblatt();"/>
|
||||
<command id="menu-dokumente-studienblatt:command" oncommand="PrintStudienblatt(event);"/>
|
||||
<command id="menu-dokumente-pruefungsprotokoll:command" oncommand="StudentAbschlusspruefungPrintPruefungsprotokollMultiple('de');"/>
|
||||
<command id="menu-dokumente-pruefungsprotokoll_englisch:command" oncommand="StudentAbschlusspruefungPrintPruefungsprotokollMultiple('en');"/>
|
||||
<command id="menu-dokumente-pruefungsprotokoll2:command" oncommand="StudentAbschlusspruefungPrintPruefungsprotokollMultiple('de2');"/>
|
||||
|
||||
@@ -1692,7 +1692,7 @@ function PrintZutrittskarte()
|
||||
// ****
|
||||
// * Druckt das Studienblatt
|
||||
// ****
|
||||
function PrintStudienblatt()
|
||||
function PrintStudienblatt(event)
|
||||
{
|
||||
|
||||
if(document.getElementById('main-content-tabs').selectedItem==document.getElementById('tab-studenten'))
|
||||
@@ -1728,12 +1728,27 @@ function PrintStudienblatt()
|
||||
alert('Das Studienblatt kann nur für Studierende erstellt werden');
|
||||
return false;
|
||||
}
|
||||
|
||||
var output = 'pdf';
|
||||
if(typeof(event)!=='undefined')
|
||||
{
|
||||
if (event.shiftKey)
|
||||
{
|
||||
var output = 'odt';
|
||||
}
|
||||
else if (event.ctrlKey)
|
||||
{
|
||||
var output = 'doc';
|
||||
}
|
||||
else
|
||||
{
|
||||
var output = 'pdf';
|
||||
}
|
||||
}
|
||||
if(data!='')
|
||||
{
|
||||
if(error>0)
|
||||
alert(error+' der ausgewaehlten Personen haben keinen Account');
|
||||
action = '<?php echo APP_ROOT; ?>content/pdfExport.php?xsl=Studienblatt&xml=studienblatt.xml.php&output=pdf&&uid='+data;
|
||||
action = '<?php echo APP_ROOT; ?>content/pdfExport.php?xsl=Studienblatt&xml=studienblatt.xml.php&output='+output+'&&uid='+data;
|
||||
window.open(action,'Studienblatt','height=520,width=500,left=350,top=350,hotkeys=0,resizable=yes,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,dependent=yes');
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user