From 082f2c826f685ee1c0fb799298df7b0ab2e5b238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Sun, 28 Sep 2014 15:41:29 +0200 Subject: [PATCH] #99 anordung --- app/View/Pdf/application.ctp | 3 +++ app/View/Pdf/application_ext.ctp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/app/View/Pdf/application.ctp b/app/View/Pdf/application.ctp index 3161f72..3069122 100644 --- a/app/View/Pdf/application.ctp +++ b/app/View/Pdf/application.ctp @@ -50,6 +50,7 @@ $tcpdf->SetY(35); $tcpdf->SetTextColor(0, 0, 0); $tcpdf->SetFont($tcpdf->font); + $tcpdf->Cell(0,0, $application['AppUserWorker']['first_name'].' '.$application['AppUserWorker']['last_name'], 0,1,'L'); $tcpdf->Cell(0,0, $application['DreamjobUserWorker']['street'], 0,1,'L'); $tcpdf->Cell(0,0, $application['DreamjobUserWorker']['postcode'].' '.$application['DreamjobWorkerListCity']['name'], 0,1,'L'); @@ -58,7 +59,9 @@ $tcpdf->Cell(0,0, $application['AppUser']['nickname'], 0,1,'L'); $tcpdf->Cell(0,0, $application['DreamjobUser']['street'], 0,1,'L'); $tcpdf->Cell(0,0, $application['DreamjobUser']['postcode'].' '.$application['DreamjobListCity']['name'], 0,1,'L'); +$tcpdf->setCellMargins(1,0,0,0); $tcpdf->writeHTML('

'.$application['DreamjobJobApplication']['subject'].'


'.$application['DreamjobJobApplication']['text']); +$tcpdf->setCellMargins(0,0,0,0); //Lebenslauf $tcpdf->title=__('dreamjob.cv'); diff --git a/app/View/Pdf/application_ext.ctp b/app/View/Pdf/application_ext.ctp index 539bf76..cec7b63 100644 --- a/app/View/Pdf/application_ext.ctp +++ b/app/View/Pdf/application_ext.ctp @@ -59,7 +59,9 @@ $tcpdf->Cell(0,0, $application['AppUser']['nickname'], 0,1,'L'); $tcpdf->Cell(0,0, $application['DreamjobUser']['street'], 0,1,'L'); $tcpdf->Cell(0,0, $application['DreamjobUser']['postcode'].' '.$application['DreamjobListCity']['name'], 0,1,'L'); +$tcpdf->setCellMargins(1,0,0,0); $tcpdf->writeHTML('

'.$application['DreamjobJobApplication']['subject'].'


'.$application['DreamjobJobApplication']['text']); +$tcpdf->setCellMargins(0,0,0,0); //Lebenslauf