mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
reload detailtab after changedStatus, update getUserLanguage()
This commit is contained in:
@@ -526,6 +526,7 @@ class Prestudentstatus_model extends DB_Model
|
||||
*/
|
||||
public function getHistoryPrestudent($prestudent_id)
|
||||
{
|
||||
$lang= getUserLanguage();
|
||||
$this->addSelect('tbl_prestudentstatus.prestudent_id');
|
||||
$this->addSelect('tbl_prestudentstatus.status_kurzbz');
|
||||
$this->addSelect('tbl_prestudentstatus.studiensemester_kurzbz');
|
||||
@@ -545,7 +546,7 @@ class Prestudentstatus_model extends DB_Model
|
||||
$this->addSelect('grund.beschreibung[(
|
||||
SELECT index
|
||||
FROM public.tbl_sprache
|
||||
WHERE sprache=' . $this->escape(getUserLanguage()) . '
|
||||
WHERE sprache=' . $this->escape($lang) . '
|
||||
)] AS statusgrund_bezeichnung', false);
|
||||
$this->addSelect("CASE
|
||||
WHEN s.student_uid IS NOT NULL
|
||||
|
||||
@@ -121,6 +121,9 @@ export default {
|
||||
},
|
||||
udfsLoaded(udfs) {
|
||||
this.original = {...(this.original || {}), ...udfs};
|
||||
},
|
||||
reload(){
|
||||
this.updateStudent(this.modelValue);
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
@@ -410,6 +410,8 @@ export default{
|
||||
this.addNewStatus(prestudentIds);
|
||||
},
|
||||
changeStatusToStudent(prestudentIds){
|
||||
|
||||
//TODO Manu validation if Bewerber already before asking for ausbildungssemester
|
||||
this.hideModal('askForAusbildungssemester');
|
||||
let deltaData =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user