cv im pdf
This commit is contained in:
parent
8cfb0eda06
commit
28525f0b44
|
@ -2,10 +2,12 @@
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
if(empty($toPDF)){
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
echo __("dreamjob.cv")." ";
|
echo __("dreamjob.cv")." ";
|
||||||
if($edit){
|
if($edit){
|
||||||
$text ='<span class="label label-default edit" style="font-size:12px;"><span class="glyphicon glyphicon-edit"></span> '.__('dreamjob.edit').'</span>';
|
$text ='<span class="label label-default edit" style="font-size:12px;"><span class="glyphicon glyphicon-edit"></span> '.__('dreamjob.edit').'</span>';
|
||||||
|
@ -15,8 +17,10 @@ if($edit){
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
}
|
||||||
$inCat= -1;
|
$inCat= -1;
|
||||||
?>
|
?>
|
||||||
|
<div nobr="true">
|
||||||
<h4><?=$cvp0['DreamjobListCvCategory']['name'];?></h4>
|
<h4><?=$cvp0['DreamjobListCvCategory']['name'];?></h4>
|
||||||
<table class="cv">
|
<table class="cv">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -57,6 +61,8 @@ if($edit){
|
||||||
if($cvp0['DreamjobListCvCategory']['id'] != $cvc['DreamjobListCvCategory']['id']){
|
if($cvp0['DreamjobListCvCategory']['id'] != $cvc['DreamjobListCvCategory']['id']){
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
<div nobr="true">
|
||||||
<h4><?=$cvc['DreamjobListCvCategory']['name'];?></h4>
|
<h4><?=$cvc['DreamjobListCvCategory']['name'];?></h4>
|
||||||
<table class="cv">
|
<table class="cv">
|
||||||
<?php
|
<?php
|
||||||
|
@ -121,3 +127,4 @@ if($edit){
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
App::import('Vendor','tcpdf/xtcpdf');
|
App::import('Vendor','tcpdf/xtcpdf');
|
||||||
$cvinhalt = $this->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'])));
|
,'AppUser'=>$application['AppUserWorker'],'DreamjobWorker'=>$application['DreamjobWorker'],'DreamjobListGraducation'=>$application['WorkerGraducation'],'DreamjobListCity'=>$application['DreamjobWorkerListCity'])));
|
||||||
//die($cvinhalt);
|
//die($cvinhalt);
|
||||||
//$cvinhalt = "<i>asd</i>";
|
//$cvinhalt = "<i>asd</i>";
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
||||||
|
|
||||||
$dev = 1;
|
$dev = 0;
|
||||||
$tcpdf = new XTCPDF();
|
$tcpdf = new XTCPDF();
|
||||||
|
|
||||||
$tcpdf->SetAuthor("Miconware");
|
$tcpdf->SetAuthor("Miconware");
|
||||||
|
|
Loading…
Reference in New Issue