mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 07:52:16 +00:00
- Überbuchungen werden jetzt farblich getrennt nach der Anzahl
- Bei Preinteressentenübernahme wird nun die Schule angezeigt
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
<td class='tdwrap'>Termin nach Vereinbarung</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="260" class='tdwrap'>Ing. Lechner Martin, BSc</td>
|
||||
<td width="260" class='tdwrap'>Stroppa Alexander</td>
|
||||
<td width="50" class='tdwrap'>240</td>
|
||||
<td class='tdwrap'></td>
|
||||
<td width="56" class='tdwrap'> </td>
|
||||
@@ -197,6 +197,13 @@
|
||||
<td width="56" class='tdwrap'> </td>
|
||||
<td class='tdwrap'>Termin nach Vereinbarung</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="260" class='tdwrap'>Jozsa Franz</td>
|
||||
<td width="50" class='tdwrap'> </td>
|
||||
<td class='tdwrap'></td>
|
||||
<td width="56" class='tdwrap'> </td>
|
||||
<td class='tdwrap'>Termin nach Vereinbarung</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class='tdwrap'> </td>
|
||||
<td class='tdwrap'> </td>
|
||||
|
||||
@@ -137,10 +137,11 @@ function getAnzahl($studiengang_kz, $semester, $verband, $gruppe, $gruppe_kurzbz
|
||||
WHERE studiensemester_kurzbz='".addslashes($studiensemester_kurzbz)."'
|
||||
AND studiengang_kz='".addslashes($studiengang_kz)."' AND
|
||||
semester='".addslashes($semester)."'";
|
||||
if($verband!='')
|
||||
$qry.=" AND verband='".addslashes($verband)."'";
|
||||
if($gruppe!='')
|
||||
$qry.=" AND gruppe='".addslashes($gruppe)."'";
|
||||
if(trim($verband)!='')
|
||||
$qry.=" AND trim(verband)=trim('".addslashes($verband)."')";
|
||||
if(trim($gruppe)!='')
|
||||
$qry.=" AND trim(gruppe)=trim('".addslashes($gruppe)."')";
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -177,7 +178,18 @@ if($result = $db->db_query($qry))
|
||||
$gruppen = mb_substr($gruppen, 0, mb_strlen($gruppen)-2);
|
||||
if($anzahl_studenten>$ort[$lastort]->max_person)
|
||||
{
|
||||
echo "<tr><td>$lastdatum</td><td>$laststunde</td><td>$lastort</td><td>$anzahl_studenten (".$ort[$lastort]->max_person.")</td><td>$gruppen</td></tr>";
|
||||
$diff = $anzahl_studenten-$ort[$lastort]->max_person;
|
||||
|
||||
$style='';
|
||||
if($diff>=2)
|
||||
$style='style="background-color: ff6c00;"';
|
||||
if($diff>=4)
|
||||
$style='style="background-color: ff5400;"';
|
||||
if($diff>=6)
|
||||
$style='style="background-color: e83700;"';
|
||||
if($diff>=8)
|
||||
$style='style="background-color: a00404;"';
|
||||
echo "<tr><td>$lastdatum</td><td>$laststunde</td><td>$lastort</td><td $style>$anzahl_studenten (".$ort[$lastort]->max_person.")</td><td>$gruppen</td></tr>";
|
||||
}
|
||||
$anzahl_studenten=0;
|
||||
$gruppen='';
|
||||
|
||||
@@ -162,7 +162,7 @@ if(count($preinteressent->result)>0)
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Studiensemester</th>
|
||||
<th>StSemester</th>
|
||||
<th>Erfassungsdatum</th>
|
||||
<th>Anmerkung</th>
|
||||
<th>AufmerksamDurch</th>
|
||||
@@ -197,7 +197,15 @@ if(count($preinteressent->result)>0)
|
||||
echo '<td>';
|
||||
$firma = new firma();
|
||||
$firma->load($row->firma_id);
|
||||
echo $firma->name;
|
||||
$adresse = new adresse();
|
||||
$adresse->load_firma($row->firma_id);
|
||||
if(isset($adresse->result[0]))
|
||||
{
|
||||
$plz = $adresse->result[0]->plz;
|
||||
$ort = $adresse->result[0]->ort;
|
||||
}
|
||||
|
||||
echo '<a href="../stammdaten/firma_details.php?firma_id='.$firma->firma_id.'" class="Item">'.$plz.' '.$ort.' '.$firma->name." ($firma->firmentyp_kurzbz)</a>";
|
||||
echo '</td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
|
||||
@@ -21,19 +21,20 @@
|
||||
* Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at >
|
||||
*/
|
||||
|
||||
require_once('../../config/vilesci.config.inc.php');
|
||||
require_once('../../include/basis_db.class.php');
|
||||
if (!$db = new basis_db())
|
||||
die('Es konnte keine Verbindung zum Server aufgebaut werden.');
|
||||
|
||||
require_once('../../config/vilesci.config.inc.php');
|
||||
require_once('../../include/functions.inc.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
require_once('../../include/studiengang.class.php');
|
||||
require_once('../../include/preinteressent.class.php');
|
||||
require_once('../../include/person.class.php');
|
||||
require_once('../../include/firma.class.php');
|
||||
require_once('../../include/adresse.class.php');
|
||||
require_once('../../include/datum.class.php');
|
||||
require_once('../../include/prestudent.class.php');
|
||||
|
||||
if (!$db = new basis_db())
|
||||
die('Es konnte keine Verbindung zum Server aufgebaut werden.');
|
||||
|
||||
|
||||
|
||||
$user = get_uid();
|
||||
@@ -276,7 +277,25 @@ foreach ($preinteressent->result as $row)
|
||||
echo "<td>$person->vorname</td>";
|
||||
echo "<td>$person->gebdatum</td>";
|
||||
echo "<td>$row->studiensemester_kurzbz</td>";
|
||||
echo "<td>$row->anmerkung</td>";
|
||||
echo "<td>$row->anmerkung";
|
||||
|
||||
if($row->firma_id!='')
|
||||
{
|
||||
$plz='';
|
||||
$ort='';
|
||||
$firma = new firma();
|
||||
$firma->load($row->firma_id);
|
||||
$adresse = new adresse();
|
||||
$adresse->load_firma($row->firma_id);
|
||||
if(isset($adresse->result[0]))
|
||||
{
|
||||
$plz = $adresse->result[0]->plz;
|
||||
$ort = $adresse->result[0]->ort;
|
||||
}
|
||||
|
||||
echo '<br /><b>Schule:</b> <a href="../stammdaten/firma_details.php?firma_id='.$firma->firma_id.'" class="Item">'.$plz.' '.$ort.' '.$firma->name." ($firma->firmentyp_kurzbz)</a>";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "<td>";
|
||||
|
||||
//Suchen ob diese Person schon existiert
|
||||
|
||||
Reference in New Issue
Block a user