From 2417a9ae2c15b0e89ab900a6ee46deac9682af6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Tue, 29 Apr 2014 23:57:29 +0200 Subject: [PATCH] ... --- app/View/Pdf/application.ctp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/View/Pdf/application.ctp b/app/View/Pdf/application.ctp index 378addd..7260c2e 100644 --- a/app/View/Pdf/application.ctp +++ b/app/View/Pdf/application.ctp @@ -46,7 +46,7 @@ $tcpdf->SetY(35); $tcpdf->SetTextColor(0, 0, 0); $tcpdf->SetFont($tcpdf->font); -$tcpdf->Cell(0,0, $application['Mannerofaddress']['name'].' '.$application['AppUserWorker']['first_name'].' '.$application['AppUserWorker']['last_name'], 0,1,'L'); +$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'); $tcpdf->SetY(60); @@ -56,8 +56,7 @@ $tcpdf->Cell(0,0, $application['DreamjobUser']['postcode'].' '.$application['Dre $tcpdf->SetY(85); $tcpdf->SetAutoPageBreak( true,50); -$tcpdf->writeHTML('

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

'.$application['DreamjobJobApplication']['text']); -//$tcpdf->writeHTMLCell(0,175,10,95, $application['DreamjobJobApplication']['text'], $dev,0,false,true,'L'); +$tcpdf->writeHTML('

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


'.$application['DreamjobJobApplication']['text']); //Lebenslauf $tcpdf->title=__('dreamjob.cv');