mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-18 23:42:17 +00:00
controllerid is also passed when freigegeben or abgesagt (important to keep filter!)
This commit is contained in:
@@ -313,6 +313,7 @@ class InfoCenter extends FHC_Controller
|
||||
public function saveAbsage($prestudent_id)
|
||||
{
|
||||
$statusgrund = $this->input->post('statusgrund');
|
||||
$this->fhc_controller_id = $this->input->post('fhc_controller_id');
|
||||
|
||||
$lastStatus = $this->PrestudentstatusModel->getLastStatus($prestudent_id);
|
||||
|
||||
|
||||
@@ -243,6 +243,7 @@
|
||||
<div class="form-inline">
|
||||
<form method="post"
|
||||
action="../saveAbsage/<?php echo $zgvpruefung->prestudent_id ?>">
|
||||
<input type="hidden" name="fhc_controller_id" value="<?php echo $fhc_controller_id; ?>">
|
||||
<div class="input-group" id="statusgrselect_<?php echo $zgvpruefung->prestudent_id ?>">
|
||||
<select name="statusgrund"
|
||||
class="d-inline float-right"
|
||||
@@ -349,7 +350,7 @@
|
||||
class="btn btn-default"
|
||||
data-dismiss="modal"><?php echo $this->p->t('ui', 'abbrechen') ?>
|
||||
</button>
|
||||
<a href="../saveFreigabe/<?php echo $zgvpruefung->prestudent_id ?>">
|
||||
<a href="../saveFreigabe/<?php echo $zgvpruefung->prestudent_id ?>?fhc_controller_id=<?php echo $fhc_controller_id; ?>">
|
||||
<button type="button"
|
||||
class="btn btn-primary">
|
||||
<?php echo $this->p->t('infocenter', 'interessentFreigeben') ?>
|
||||
|
||||
@@ -240,7 +240,7 @@ var InfocenterDetails = {
|
||||
}
|
||||
);
|
||||
},
|
||||
saveZgv: function (data)
|
||||
saveZgv: function(data)
|
||||
{
|
||||
var zgvError = function(){
|
||||
$("#zgvSpeichern_" + prestudentid).before("<span id='zgvSpeichernNotice' class='text-danger'>Fehler beim Speichern der ZGV!</span> ");
|
||||
@@ -270,7 +270,7 @@ var InfocenterDetails = {
|
||||
}
|
||||
);
|
||||
},
|
||||
saveNotiz: function (personid, data)
|
||||
saveNotiz: function(personid, data)
|
||||
{
|
||||
FHC_AjaxClient.ajaxCallPost(
|
||||
CALLED_PATH + '/saveNotiz/' + encodeURIComponent(personid),
|
||||
@@ -292,7 +292,7 @@ var InfocenterDetails = {
|
||||
}
|
||||
);
|
||||
},
|
||||
updateNotiz: function (notizId, personId, data)
|
||||
updateNotiz: function(notizId, personId, data)
|
||||
{
|
||||
FHC_AjaxClient.ajaxCallPost(
|
||||
CALLED_PATH + '/updateNotiz/' + encodeURIComponent(notizId) + "/" + encodeURIComponent(personId),
|
||||
|
||||
Reference in New Issue
Block a user