mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 17:32:18 +00:00
Added button 'Antrag jetzt bearbeiten' to 'Antrag anlegen'
The button 'Antrag jetzt bearbeiten' will appear right after creating a new application, so that the user can directly open the new application in a new tab. The button disappears when selecting a new student again. Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
@@ -166,8 +166,13 @@ class CreateAnrechnung extends Auth_Controller
|
||||
$this->terminateWithJsonError(getError($result));
|
||||
}
|
||||
|
||||
$lastInsert_anrechnung_id = getData($result);
|
||||
|
||||
// Success response to AJAX
|
||||
$this->outputJsonSuccess($this->p->t('global', 'antragWurdeAngelegt'));
|
||||
$this->outputJsonSuccess(array(
|
||||
'anrechnung_id' => $lastInsert_anrechnung_id,
|
||||
'msg' => $this->p->t('global', 'antragWurdeAngelegt')
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user