mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-18 23:42:17 +00:00
Deactivated application deadline
Deactivated application deadline by setting checking variable is_expired to false. This is to keep the logic for a later time when the application deadline is going to be defined. Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
@@ -66,7 +66,8 @@ class requestAnrechnung extends Auth_Controller
|
||||
}
|
||||
|
||||
// Check if application deadline is expired
|
||||
$is_expired = $this->_checkAntragDeadline($studiensemester_kurzbz);
|
||||
// $is_expired = $this->_checkAntragDeadline($studiensemester_kurzbz);
|
||||
$is_expired = false; // Set to false until Deadline is defined
|
||||
|
||||
// Get Anrechung data
|
||||
$result = $this->anrechnunglib->getAnrechnungDataByLv($lehrveranstaltung_id);
|
||||
|
||||
@@ -182,12 +182,11 @@ $this->load->view(
|
||||
<span>Antrag gestellt am <?php echo $anrechnungData->insertamum; ?></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($disabled): ?>
|
||||
<div class="alert alert-warning">
|
||||
<?php echo $this->p->t('global', 'bearbeitungGesperrt'); ?>
|
||||
<?php echo $is_expired && empty($antragData->anrechnung_id)? ': '. $this->p->t('anrechnung', 'deadlineUeberschritten') : ''; ?>
|
||||
<!-- --><?php //echo !empty($anrechnungData->anrechnung_id) ? $this->p->t('anrechnung', 'anrechnungIst'). ' '. $anrechnungData->status : ''; ?>
|
||||
</div>
|
||||
<?php if ($is_expired): ?>
|
||||
<div class="alert alert-warning">
|
||||
<?php echo $this->p->t('global', 'bearbeitungGesperrt'); ?>
|
||||
<?php echo $is_expired && empty($antragData->anrechnung_id)? ': '. $this->p->t('anrechnung', 'deadlineUeberschritten') : ''; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user