mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
This commit is contained in:
+10
-1
@@ -322,7 +322,11 @@ Sekunden angegeben werden </td>
|
||||
<th>Aufwand [h] </th>
|
||||
</tr>
|
||||
<tr class="liste0">
|
||||
<td><br>
|
||||
<td>Beim Inskripieren von Studenten werden immer die Daten des
|
||||
Bewerberstatus verwendet (StSem, AusbSem). Wenn ein Status
|
||||
Wartender/Aufgenommener mit abweichenden Daten angelegt ist, kann dies
|
||||
zu Problemen führen. (falsch generierte Matrikelnummer/UID,
|
||||
Duplizierter Wert, etc.)<br>
|
||||
</td>
|
||||
<td align="center"><br>
|
||||
</td>
|
||||
@@ -415,6 +419,11 @@ Sekunden angegeben werden </td>
|
||||
<hr>
|
||||
<h2>Erledigte Anforderungen</h2>
|
||||
<ul>
|
||||
<li>Die Höhe des Konto-Trees passt sich nun der
|
||||
Fenstergröße an.<br>
|
||||
18.02.2008 oesi<br>
|
||||
<br>
|
||||
</li>
|
||||
<li>Bei der Zuordnung von Lektoren zu einer Lehreinheit wird nun
|
||||
überprüft ob die maximal zulässige Unterrichtszeit des
|
||||
Lektors überschritten wurde. Falls ja wird eine Warnung ausgegeben.<br>
|
||||
|
||||
@@ -73,7 +73,7 @@ else
|
||||
$stg_kz=null;
|
||||
if (isset($_GET['sem']))
|
||||
$sem=$_GET['sem'];
|
||||
else
|
||||
else
|
||||
$sem=null;
|
||||
if (isset($_GET['ver']))
|
||||
$ver=$_GET['ver'];
|
||||
|
||||
@@ -59,12 +59,12 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</hbox>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<vbox>
|
||||
<row flex="1">
|
||||
<vbox flex="1">
|
||||
<label id="student-konto-label-filter" value="alle Buchungen:"/>
|
||||
<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"
|
||||
style="margin-left:10px;margin-right:10px;margin-bottom:5px;margin-top: 10px;" enableColumnDrag="true"
|
||||
onselect="StudentKontoAuswahl()"
|
||||
context="student-konto-tree-popup"
|
||||
flags="dont-build-content"
|
||||
@@ -115,7 +115,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</template>
|
||||
</tree>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<vbox flex="1">
|
||||
<hbox>
|
||||
<button id="student-konto-button-neu" label="Neu" oncommand="StudentKontoNeu();" disabled="true"/>
|
||||
<button id="student-konto-button-gegenbuchung" label="Gegenbuchung" oncommand="StudentKontoGegenbuchung();" disabled="true"/>
|
||||
@@ -127,7 +127,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<label value="Buchungsnr" control="student-konto-textbox-buchungsnr"/>
|
||||
<textbox id="student-konto-textbox-buchungsnr" disabled="true"/>
|
||||
</vbox>
|
||||
<groupbox id="student-konto-groupbox" flex="1">
|
||||
<groupbox id="student-konto-groupbox">
|
||||
<caption label="Details"/>
|
||||
<grid id="student-konto-grid-detail" style="overflow:auto;margin:4px;" flex="1">
|
||||
<columns >
|
||||
@@ -201,6 +201,5 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</rows>
|
||||
</grid>
|
||||
</hbox>
|
||||
<spacer flex="1" />
|
||||
</vbox>
|
||||
</overlay>
|
||||
@@ -231,6 +231,9 @@ function onOrtSelect()
|
||||
var daten=window.TimeTableWeek.document.getElementById('TimeTableWeekData');
|
||||
var datum=parseInt(daten.getAttribute("datum"));
|
||||
|
||||
if(ort=='')
|
||||
return false;
|
||||
|
||||
var attributes="?type=ort&ort="+ort+"&datum="+datum;
|
||||
var url = "<?php echo APP_ROOT; ?>content/lvplanung/timetable-week.xul.php";
|
||||
url+=attributes+'&'+gettimestamp();
|
||||
|
||||
@@ -88,6 +88,10 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/stpl-semester-overlay.xu
|
||||
<treecol id="ort_bezeichnung" label="Bezeichnung" flex="3" hidden="true"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="max_person" label="MaxP" flex="1" hidden="true"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="raumtypen" label="Raumtypen" flex="1" hidden="true"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="stockwerk" label="Stockwerk" flex="1" hidden="true"/>
|
||||
</treecols>
|
||||
|
||||
<template>
|
||||
@@ -100,6 +104,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/stpl-semester-overlay.xu
|
||||
<treecell label="rdf:http://www.technikum-wien.at/ort/rdf#hierarchie"/>
|
||||
<treecell label="rdf:http://www.technikum-wien.at/ort/rdf#ort_bezeichnung"/>
|
||||
<treecell label="rdf:http://www.technikum-wien.at/ort/rdf#max_person"/>
|
||||
<treecell label="rdf:http://www.technikum-wien.at/ort/rdf#stockwerk"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
|
||||
@@ -847,7 +847,8 @@ class wochenplan
|
||||
$updateamum[]=substr($lehrstunde->updateamum,0,16);
|
||||
$updatevon[]=$lehrstunde->updatevon;
|
||||
$paramList.='&stundenplan_id'.$z++.'='.$lehrstunde->stundenplan_id;
|
||||
$farbe=$lehrstunde->farbe;
|
||||
if(isset($lehrstunde->farbe))
|
||||
$farbe=$lehrstunde->farbe;
|
||||
$titel=$lehrstunde->titel;
|
||||
$anmerkung=$lehrstunde->anmerkung;
|
||||
}
|
||||
@@ -914,7 +915,7 @@ class wochenplan
|
||||
// Ausgabe
|
||||
echo '<button id="buttonSTPL'.$count++.'"
|
||||
tooltiptext="'.$titel.' - '.$anmerkung.' ('.$updatevonam.')"
|
||||
style="border-width:1px;background-color:#'.$farbe.';"
|
||||
style="border-width:1px;'.((isset($farbe) && $farbe!='')?'background-color:#'.$farbe:'').';"
|
||||
styleOrig="border-width:1px;background-color:#'.$farbe.';" ';
|
||||
if ($berechtigung->isBerechtigt('lv-plan',$stg_kz) || $berechtigung->isBerechtigt('admin',0) || $berechtigung->isBerechtigt('admin',$stg_kz))
|
||||
echo ' context="stplPopupMenue" ';
|
||||
|
||||
+38
-2
@@ -1,4 +1,24 @@
|
||||
<?php
|
||||
/* Copyright (C) 2007 Technikum-Wien
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
|
||||
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
|
||||
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
|
||||
*/
|
||||
/*
|
||||
* Created on 02.12.2004
|
||||
*
|
||||
@@ -46,6 +66,18 @@ for ($i=0;$i<$num_rows;$i++)
|
||||
$lastTYP=($i>0?$ortLAST->raumtyp_kurzbz:null);
|
||||
$nextTYP=(($i<$num_rows-1)?$ortNEXT->raumtyp_kurzbz:null);
|
||||
//echo "current:$currentTYP last:$lastTYP next:$nextTYP";
|
||||
$raumtypen='';
|
||||
$qry = "SELECT raumtyp_kurzbz FROM public.tbl_ortraumtyp WHERE ort_kurzbz='$ort->ort_kurzbz'";
|
||||
if($result_rt = pg_query($conn, $qry))
|
||||
{
|
||||
while($row_rt = pg_fetch_object($result_rt))
|
||||
{
|
||||
if($raumtypen!='')
|
||||
$raumtypen.=', ';
|
||||
|
||||
$raumtypen.=$row_rt->raumtyp_kurzbz;
|
||||
}
|
||||
}
|
||||
if ($lastTYP!=$currentTYP || $i==0)
|
||||
$descr.='<RDF:Description RDF:about="'.$rdf_url.$ort->raumtyp_kurzbz.'" >
|
||||
<ORT:raumtyp>'.$ort->raumtyp_kurzbz.'</ORT:raumtyp>
|
||||
@@ -53,14 +85,18 @@ for ($i=0;$i<$num_rows;$i++)
|
||||
<ORT:ort_kurzbz></ORT:ort_kurzbz>
|
||||
<ORT:ort_bezeichnung></ORT:ort_bezeichnung>
|
||||
<ORT:max_person></ORT:max_person>
|
||||
<ORT:stockwerk></ORT:stockwerk>
|
||||
<ORT:raumtypen>'.$ort->raumtyp_kurzbz.'</ORT:raumtypen>
|
||||
</RDF:Description>';
|
||||
$descr.='<RDF:Description RDF:about="'.$rdf_url.$ort->raumtyp_kurzbz.'/'.$ort->ort_kurzbz.'" >
|
||||
<ORT:raumtyp>'.$ort->ort_kurzbz."</ORT:raumtyp>
|
||||
<ORT:hierarchie>".$ort->hierarchie."</ORT:hierarchie>
|
||||
<ORT:ort_kurzbz>".$ort->ort_kurzbz."</ORT:ort_kurzbz>
|
||||
<ORT:ort_bezeichnung>".$ort->bezeichnung."</ORT:ort_bezeichnung>
|
||||
<ORT:max_person>".$ort->max_person.'</ORT:max_person>
|
||||
</RDF:Description>'."\n";
|
||||
<ORT:max_person>".$ort->max_person."</ORT:max_person>
|
||||
<ORT:stockwerk>".$ort->stockwerk."</ORT:stockwerk>
|
||||
<ORT:raumtypen>".$raumtypen."</ORT:raumtypen>
|
||||
</RDF:Description>\n";
|
||||
|
||||
if ($lastTYP!=$currentTYP)
|
||||
$sequenz.='<RDF:li RDF:resource="'.$rdf_url.$ort->raumtyp_kurzbz.'" />
|
||||
|
||||
@@ -196,6 +196,7 @@ if(isset($_POST['save']))
|
||||
$person->aktiv = true;
|
||||
$person->geburtsnation = 'A';
|
||||
$person->staatsbuergerschaft = 'A';
|
||||
$person->familienstand = 'l';
|
||||
|
||||
if($person->save())
|
||||
{
|
||||
@@ -324,6 +325,7 @@ if(isset($_POST['save']))
|
||||
$mtiarbeiter->aktiv = true;
|
||||
$mitarbeiter->fixangestellt = true;
|
||||
$mitarbeiter->stundensatz = 0;
|
||||
$mitarbeiter->bismelden = true;
|
||||
$mitarbeiter->anmerkung = $anmerkungen;
|
||||
$mitarbeiter->ausbildungcode = $letzteausbildung;
|
||||
$mitarbeiter->insertamum = date('Y-m-d H:i:s');
|
||||
|
||||
Reference in New Issue
Block a user