Status Diplomand

This commit is contained in:
cgfhtw
2024-08-06 16:24:38 +02:00
parent 21e69c6d94
commit 09a0536921
2 changed files with 9 additions and 55 deletions
@@ -477,15 +477,11 @@ class Status extends FHCAPI_Controller
);
break;
case Prestudentstatus_model::STATUS_DIPLOMAND:
$this->load->library('PrestudentLib');
$result = $this->prestudentlib->setDiplomand($prestudent_id, $studiensemester_kurzbz, $ausbildungssemester);
if (isError($result))
{
return $this->terminateWithError(getError($result), self::ERROR_TYPE_GENERAL);
}
else
$this->terminateWithSuccess($prestudent_id);
$result = $this->prestudentlib->setDiplomand(
$prestudent_id,
$studiensemester_kurzbz,
$ausbildungssemester
);
break;
case Prestudentstatus_model::STATUS_ABSOLVENT:
$this->load->library('PrestudentLib');