mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
- added foerderrelevant and standort_code to prestudent.class.php and studiengang.class.php to all methods
- foerderrelevant and standort for Studiengang can be edited in vilesci studiengang_details.php
This commit is contained in:
@@ -89,6 +89,8 @@ $testtool_sprachwahl = false;
|
||||
$studienplaetze = '';
|
||||
$orgform_kurzbz = '';
|
||||
$lgartcode='';
|
||||
$foerderrelevant = false;
|
||||
$standort_code='';
|
||||
$schick = filter_input(INPUT_POST, 'schick');
|
||||
$onlinebewerbung = false;
|
||||
|
||||
@@ -149,6 +151,8 @@ if($schick)
|
||||
$aktiv = filter_input(INPUT_POST, 'aktiv', FILTER_VALIDATE_BOOLEAN);
|
||||
$onlinebewerbung = filter_input(INPUT_POST, 'onlinebewerbung', FILTER_VALIDATE_BOOLEAN);
|
||||
$mischform = filter_input(INPUT_POST, 'mischform', FILTER_VALIDATE_BOOLEAN);
|
||||
$foerderrelevant = filter_input(INPUT_POST, 'foerderrelevant', FILTER_VALIDATE_BOOLEAN);
|
||||
$standort_code = filter_input(INPUT_POST, 'standort_code');
|
||||
|
||||
$ext_id = filter_input(INPUT_POST, 'ext_id');
|
||||
|
||||
@@ -214,6 +218,8 @@ if($schick)
|
||||
$sg_update->studienplaetze = $studienplaetze;
|
||||
$sg_update->orgform_kurzbz = $orgform_kurzbz;
|
||||
$sg_update->lgartcode = $lgartcode;
|
||||
$sg_update->foerderrelevant = $foerderrelevant;
|
||||
$sg_update->standort_code = $standort_code;
|
||||
|
||||
$sg_update->bescheidvom=$date->formatDatum($sg_update->bescheidvom,'Y-m-d');
|
||||
$sg_update->titelbescheidvom=$date->formatDatum($sg_update->titelbescheidvom,'Y-m-d');
|
||||
@@ -280,6 +286,8 @@ if ((isset($_REQUEST['studiengang_kz'])) && ((!isset($_REQUEST['neu'])) || ($_RE
|
||||
$studienplaetze = $sg->studienplaetze;
|
||||
$orgform_kurzbz = $sg->orgform_kurzbz;
|
||||
$lgartcode = $sg->lgartcode;
|
||||
$foerderrelevant = $sg->foerderrelevant;
|
||||
$standort_code = $sg->standort_code;
|
||||
}
|
||||
|
||||
$erh = new erhalter();
|
||||
@@ -430,6 +438,13 @@ if (!$erh->getAll('kurzbz'))
|
||||
<input type="checkbox" name="mischform" <?php echo $mischform ? 'checked' : '' ?> onchange="submitable()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">Förderrelevant</td>
|
||||
<td>
|
||||
<input type="hidden" name="foerderrelevant" value="0">
|
||||
<input type="checkbox" name="foerderrelevant" <?php echo $foerderrelevant ? 'checked' : '' ?> onchange="submitable()">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="top">
|
||||
@@ -555,6 +570,32 @@ if (!$erh->getAll('kurzbz'))
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Standort</td>
|
||||
<td>
|
||||
<select name="standort_code" onchange="submitable()">
|
||||
<option value="">-- keine Auswahl --</option>
|
||||
<?php
|
||||
$qry = 'SELECT standort_code, bezeichnung '
|
||||
. 'FROM bis.tbl_bisstandort '
|
||||
. 'WHERE aktiv '
|
||||
. 'ORDER BY bezeichnung';
|
||||
|
||||
if($result = $db->db_query($qry)):
|
||||
while($row = $db->db_fetch_object($result)):
|
||||
if($row->standort_code == $standort_code)
|
||||
$selected = 'selected';
|
||||
else
|
||||
$selected = ''; ?>
|
||||
|
||||
<option value="<?php echo $row->standort_code ?>" <?php echo $selected ?>>
|
||||
<?php echo $row->bezeichnung ?> - <?php echo $row->standort_code ?>
|
||||
</option>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="top">
|
||||
|
||||
Reference in New Issue
Block a user