Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 788 | Rev 792 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 788 Rev 789
Línea 704... Línea 704...
704
        }
704
        }
Línea 705... Línea 705...
705
 
705
 
Línea 706... Línea 706...
706
 
706
 
707
        if ($request->isGet()) {
707
        if ($request->isGet()) {
708
 
708
 
709
            return $this->renderPdf($currentCompany, $jobDescription);
709
            return $this->renderPdf($currentCompany,$jobDescription);
710
        } else {
710
        } else {
711
            $data = [
711
            $data = [
Línea 722... Línea 722...
722
     * Render PDF
722
     * Render PDF
723
     * @param type $currentCompany
723
     * @param type $currentCompany
724
     * @param type $jobDescription
724
     * @param type $jobDescription
725
     * @return type
725
     * @return type
726
     */
726
     */
727
    public function renderPDF($currentCompany,$jobDescription) {
727
    public function renderPDF($currentCompany, $jobDescription) {
Línea 728... Línea 728...
728
 
728
 
-
 
729
        //Generate New PDF
-
 
730
        $pdf = new JobPDF();
729
        //Generate New PDF
731
        
Línea 730... Línea 732...
730
        $pdf = new JobPDF($currentCompany);
732
        $pdf->company = $currentCompany;
Línea 731... Línea 733...
731
 
733
 
732
        $pdf->SetMargins(20, 0, 20);
734
        $pdf->SetMargins(20, 0, 20);