bugfix phrases tabulator, refactor Prestudent.js using FHCAPI_CONTROLLER

This commit is contained in:
ma0068
2024-03-25 13:28:28 +01:00
parent b907f01ebb
commit 65c7db7ae4
8 changed files with 442 additions and 116 deletions
@@ -15,6 +15,15 @@ class Prestudentstatus_model extends DB_Model
$this->dbTable = 'public.tbl_prestudentstatus';
$this->pk = array('ausbildungssemester', 'studiensemester_kurzbz', 'status_kurzbz', 'prestudent_id');
$this->hasSequence = false;
/* $CI =& get_instance();
$CI->load->library('PhrasesLib');
// Load language phrases
$CI->loadPhrases([
'ui', 'lehre'
]);*/
}
/**
@@ -375,7 +384,7 @@ class Prestudentstatus_model extends DB_Model
}
else
{
return success("1","Diese Rolle ist bereits vorhanden!");
return success("1", $this->p->t('studierendenantrag','error_rolleBereitsVorhanden'));
}
}