Merge branch 'fronkdev' into 'master'

Sending email to customer after Cancel

See merge request fronk/thetool!476
This commit is contained in:
Frank Schubert
2024-07-11 15:59:09 +00:00

View File

@@ -216,16 +216,14 @@ class ContractController extends mfBaseController
}
}
$contract->sendCancelNotification($linked_contracts);
$this->layout()->setFlash("Kündigung gespeichert", "success");
$this->redirect("Contract", "view", ["contract_id" => $contract->id]);
}
protected function sendCancelNotification() {
/*protected function sendCancelNotification() {
$contract_id = $this->request->contract_id;
$contract = new Contract($contract_id);
@@ -246,7 +244,7 @@ class ContractController extends mfBaseController
$this->redirect("Contract", "view", ["contract_id" => $contract_id]);
}
}*/
protected function productchangeAction()
{