Sending email to customer after Cancel
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user