Sending email to customer after Cancel

This commit is contained in:
Frank Schubert
2024-07-11 17:58:21 +02:00
parent 8807d7197e
commit 2f2e748910

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()
{