Size changes in cancel notification pdf

This commit is contained in:
Frank Schubert
2024-07-11 18:32:17 +02:00
parent 806e63d5e2
commit 8c2c3cbcbe
3 changed files with 9 additions and 9 deletions

View File

@@ -238,8 +238,8 @@ class Contract extends mfBaseModel {
"owner" => $this->getProperty("owner")
];
$pdf = new PdfForm("Emailtemplates/attachments/cancel_notification.pdf", $pdf_vars);
//$pdf->download();
//exit;
$pdf->download();
exit;
$pdfpath = $pdf->render();
$tvalue = $pdf->getReturnedValues();
$pdfname = $tvalue["filename"];

View File

@@ -231,7 +231,7 @@ class ContractController extends mfBaseController
}
/*protected function sendCancelNotification() {
protected function sendCancelNotification() {
$contract_id = $this->request->contract_id;
$contract = new Contract($contract_id);
@@ -252,7 +252,7 @@ class ContractController extends mfBaseController
$this->redirect("Contract", "view", ["contract_id" => $contract_id]);
}*/
}
protected function productchangeAction()
{