mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Merge branch 'feature-36555/Studstatus_HinweistextFAS_Pruefungsdatum'
This commit is contained in:
@@ -332,4 +332,6 @@ define('DOCSBOX_ENABLED', false);
|
||||
// (true | false)
|
||||
define('DIENSTVERHAELTNIS_SUPPORT', false);
|
||||
|
||||
// Falls Studstatus (Abmeldung, AbmeldungStg, Unterbrechung, Wiederholung) verwendet wird zeige Hinweistext bei Eingabe einer kommissionellen oder zusaetzlichen kommissionellen Pruefung
|
||||
define('FAS_STUDSTATUS_SHOW_KOMM_PRFG_HINT', false);
|
||||
?>
|
||||
|
||||
@@ -5139,6 +5139,7 @@ function StudentPruefungNeu()
|
||||
document.getElementById('student-pruefung-menulist-note').value='9';
|
||||
document.getElementById('student-pruefung-textbox-datum').value='<?php echo date('d.m.Y');?>';
|
||||
document.getElementById('student-pruefung-textbox-anmerkung').value='';
|
||||
StudentPruefungTypChange();
|
||||
}
|
||||
|
||||
// ****
|
||||
@@ -5190,6 +5191,17 @@ function StudentPruefungLVAChange()
|
||||
LEDropDown.selectedIndex=-1;
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Wenn der Typ der Pruefung geaendert wird, dann wird ein Hinweistext angezeigt.
|
||||
// ****
|
||||
function StudentPruefungTypChange()
|
||||
{
|
||||
var typ = document.getElementById('student-pruefung-menulist-typ').value;
|
||||
var hinweisid = document.getElementById('student-pruefung-textbox-datum-hinweis');
|
||||
if(hinweisid === null) return;
|
||||
hinweisid.hidden = (typ != 'kommPruef' && typ != 'zusKommPruef');
|
||||
}
|
||||
|
||||
// ****
|
||||
// * Speichert die Pruefung
|
||||
// ****
|
||||
@@ -5424,6 +5436,7 @@ function StudentPruefungAuswahl()
|
||||
document.getElementById('student-pruefung-checkbox-neu').checked=false;
|
||||
document.getElementById('student-pruefung-textbox-pruefung_id').value=pruefung_id;
|
||||
document.getElementById('student-pruefung-textbox-punkte').value=punkte;
|
||||
StudentPruefungTypChange();
|
||||
}
|
||||
|
||||
function StudentPruefungFilterStsem()
|
||||
|
||||
@@ -34,6 +34,11 @@ if(defined('CIS_GESAMTNOTE_PUNKTE') && CIS_GESAMTNOTE_PUNKTE)
|
||||
else
|
||||
$punktehidden = 'true';
|
||||
|
||||
if(defined('FAS_STUDSTATUS_SHOW_KOMM_PRFG_HINT') && FAS_STUDSTATUS_SHOW_KOMM_PRFG_HINT)
|
||||
$show_komm_prfg_hint = true;
|
||||
else
|
||||
$show_komm_prfg_hint = false;
|
||||
|
||||
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
|
||||
?>
|
||||
@@ -203,7 +208,8 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<label value="Typ" control="student-pruefung-menulist-typ"/>
|
||||
<menulist id="student-pruefung-menulist-typ" disabled="true"
|
||||
datasources="<?php echo APP_ROOT; ?>rdf/pruefungstyp.rdf.php?abschluss=false" flex="1"
|
||||
ref="http://www.technikum-wien.at/pruefungstyp/liste" >
|
||||
ref="http://www.technikum-wien.at/pruefungstyp/liste"
|
||||
oncommand="StudentPruefungTypChange()">
|
||||
<template>
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/pruefungstyp/rdf#pruefungstyp_kurzbz"
|
||||
@@ -251,6 +257,12 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<spacer flex="1" />
|
||||
</hbox>
|
||||
</row>
|
||||
<?php if($show_komm_prfg_hint) { ?>
|
||||
<row id="student-pruefung-textbox-datum-hinweis" hidden="true">
|
||||
<label><image width="20" class="message-icon"/></label>
|
||||
<textbox readonly="true" multiline="true" rows="3" value="Bitte bei der Neuanlage das Datum der Noteneintragung (i. d. R. heute) eintragen, um den korrekten Fristenablauf der Wiederholung zu ermöglichen. Das Datum der Prüfung bitte im Anmerkungsfeld vermerken."></textbox>
|
||||
</row>
|
||||
<?php } ?>
|
||||
<row>
|
||||
<label value="Anmerkung" control="student-pruefung-textbox-anmerkung"/>
|
||||
<textbox id="student-pruefung-textbox-anmerkung" disabled="true" maxlength="256"/>
|
||||
|
||||
Reference in New Issue
Block a user