Added param to calling function rejectAnrechnung to work properly

Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
Cris
2021-02-03 14:53:40 +01:00
committed by cris-technikum
parent 5109828772
commit 0affbf4e41
@@ -161,7 +161,7 @@ class approveAnrechnungUebersicht extends Auth_Controller
foreach ($data as $item)
{
// Reject Anrechnung
if(getData($this->anrechnunglib->rejectAnrechnung($item['anrechnung_id'])))
if(getData($this->anrechnunglib->rejectAnrechnung($item['anrechnung_id'], $item['begruendung'])))
{
$json[]= array(
'anrechnung_id' => $item['anrechnung_id'],