diff --git a/app/View/Elements/user_worker_cv.ctp b/app/View/Elements/user_worker_cv.ctp
index da7281f..5455dab 100644
--- a/app/View/Elements/user_worker_cv.ctp
+++ b/app/View/Elements/user_worker_cv.ctp
@@ -2,10 +2,12 @@
/*
*
*/
+ if(empty($toPDF)){
?>
'.__('dreamjob.edit').'';
@@ -15,8 +17,10 @@ if($edit){
+
=$cvp0['DreamjobListCvCategory']['name'];?>
@@ -57,6 +61,8 @@ if($edit){
if($cvp0['DreamjobListCvCategory']['id'] != $cvc['DreamjobListCvCategory']['id']){
?>
+
+
=$cvc['DreamjobListCvCategory']['name'];?>
+
diff --git a/app/View/Pdf/opening.ctp b/app/View/Pdf/opening.ctp
index 67ea039..09ff490 100644
--- a/app/View/Pdf/opening.ctp
+++ b/app/View/Pdf/opening.ctp
@@ -1,13 +1,13 @@
element('user_worker_cv',array('profil'=>array('User'=>$application['WorkerUser']
+$cvinhalt = $this->element('user_worker_cv',array('toPDF'=>true,'profil'=>array('User'=>$application['WorkerUser']
,'AppUser'=>$application['AppUserWorker'],'DreamjobWorker'=>$application['DreamjobWorker'],'DreamjobListGraducation'=>$application['WorkerGraducation'],'DreamjobListCity'=>$application['DreamjobWorkerListCity'])));
//die($cvinhalt);
//$cvinhalt = "asd";
ob_end_clean();
-$dev = 1;
+$dev = 0;
$tcpdf = new XTCPDF();
$tcpdf->SetAuthor("Miconware");