Size changes in cancel notification pdf
This commit is contained in:
@@ -15,9 +15,9 @@ $this->setReturnValue([
|
||||
<link href="<?=$ressourcePathPrefix?>assets/css/print.css" rel="stylesheet" type="text/css" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin-left: 48pt;
|
||||
margin-right: 48pt;
|
||||
font-size: 12pt;
|
||||
margin-left: 36pt;
|
||||
margin-right: 36pt;
|
||||
font-size: 11pt;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
@@ -28,11 +28,11 @@ $this->setReturnValue([
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<img src="<?=$ressourcePathPrefix?>assets/images/xinon-full.png" style="height: 100pt;" />
|
||||
<img src="<?=$ressourcePathPrefix?>assets/images/xinon-full.png" style="height: 80pt;" />
|
||||
</div>
|
||||
|
||||
|
||||
<div style="height:48pt;"></div>
|
||||
<div style="height:36pt;"></div>
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
@@ -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"];
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user