mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Studiengang bei Buchungen änderbar
This commit is contained in:
@@ -1439,6 +1439,7 @@ if(!$error)
|
||||
$buchung->mahnspanne = $_POST['mahnspanne'];
|
||||
$buchung->buchungstyp_kurzbz = $_POST['buchungstyp_kurzbz'];
|
||||
$buchung->studiensemester_kurzbz = $_POST['studiensemester_kurzbz'];
|
||||
$buchung->studiengang_kz = $_POST['studiengang_kz'];
|
||||
$buchung->new = false;
|
||||
$buchung->updateamum = date('Y-m-d H:i:s');
|
||||
$buchung->updatevon = $user;
|
||||
|
||||
@@ -234,6 +234,31 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</template>
|
||||
</menulist>
|
||||
</row>
|
||||
<row>
|
||||
<label value="Studiengang" control="student-konto-menulist-studiengang_kz"/>
|
||||
<menulist id="student-konto-menulist-studiengang_kz" disabled="true"
|
||||
xmlns:STG="http://www.technikum-wien.at/studiengang/rdf#"
|
||||
datasources="<?php echo APP_ROOT ?>rdf/studiengang.rdf.php" flex="1"
|
||||
ref="http://www.technikum-wien.at/studiengang/liste" >
|
||||
<template>
|
||||
<!--<rule STG:aktiv="false">
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/buchungstyp/rdf#buchungstyp_kurzbz"
|
||||
label="rdf:http://www.technikum-wien.at/buchungstyp/rdf#beschreibung"
|
||||
uri="rdf:*" style="text-decoration:line-through;"/>
|
||||
</menupopup>
|
||||
</rule>-->
|
||||
<rule>
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/studiengang/rdf#studiengang_kz"
|
||||
label="rdf:http://www.technikum-wien.at/studiengang/rdf#kuerzel"
|
||||
uri="rdf:*"/>
|
||||
</menupopup>
|
||||
</rule>
|
||||
|
||||
</template>
|
||||
</menulist>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<hbox>
|
||||
|
||||
@@ -2036,6 +2036,7 @@ function StudentKontoAuswahl()
|
||||
document.getElementById('student-konto-menulist-buchungstyp').value=buchungstyp_kurzbz;
|
||||
document.getElementById('student-konto-textbox-buchungsnr').value=buchungsnr;
|
||||
document.getElementById('student-konto-menulist-studiensemester').value=studiensemester_kurzbz;
|
||||
document.getElementById('student-konto-menulist-studiengang_kz').value=studiengang_kz;
|
||||
}
|
||||
|
||||
// ****
|
||||
@@ -2248,6 +2249,7 @@ function StudentKontoDetailDisableFields(val)
|
||||
document.getElementById('student-konto-textbox-mahnspanne').disabled=val;
|
||||
document.getElementById('student-konto-menulist-buchungstyp').disabled=val;
|
||||
document.getElementById('student-konto-menulist-studiensemester').disabled=val;
|
||||
document.getElementById('student-konto-menulist-studiengang_kz').disabled=val;
|
||||
document.getElementById('student-konto-button-speichern').disabled=val;
|
||||
}
|
||||
|
||||
@@ -2265,6 +2267,7 @@ function StudentKontoDetailSpeichern()
|
||||
buchungstyp_kurzbz = document.getElementById('student-konto-menulist-buchungstyp').value;
|
||||
buchungsnr = document.getElementById('student-konto-textbox-buchungsnr').value;
|
||||
studiensemester_kurzbz = document.getElementById('student-konto-menulist-studiensemester').value;
|
||||
studiengang_kz = document.getElementById('student-konto-menulist-studiengang_kz').value;
|
||||
|
||||
if(buchungsdatum!='' && !CheckDatum(buchungsdatum))
|
||||
{
|
||||
@@ -2283,6 +2286,7 @@ function StudentKontoDetailSpeichern()
|
||||
req.add('buchungstyp_kurzbz', buchungstyp_kurzbz);
|
||||
req.add('buchungsnr', buchungsnr);
|
||||
req.add('studiensemester_kurzbz', studiensemester_kurzbz);
|
||||
req.add('studiengang_kz', studiengang_kz);
|
||||
|
||||
var response = req.executePOST();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user