@@ 752-758 (lines=7) @@ | ||
749 | $this->setFont('', '', null); |
|
750 | $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0); |
|
751 | } |
|
752 | if (!empty($receptor['GiroRecep'])) { |
|
753 | $this->setFont('', 'B', null); |
|
754 | $this->Texto('Giro', $x); |
|
755 | $this->Texto(':', $x+$offset); |
|
756 | $this->setFont('', '', null); |
|
757 | $this->MultiTexto($receptor['GiroRecep'], $x+$offset+2); |
|
758 | } |
|
759 | if (!empty($receptor['DirRecep'])) { |
|
760 | $this->setFont('', 'B', null); |
|
761 | $this->Texto('Dirección', $x); |
|
@@ 788-794 (lines=7) @@ | ||
785 | $contacto[] = $receptor['Contacto']; |
|
786 | if (!empty($receptor['CorreoRecep'])) |
|
787 | $contacto[] = $receptor['CorreoRecep']; |
|
788 | if (!empty($contacto)) { |
|
789 | $this->setFont('', 'B', null); |
|
790 | $this->Texto('Contacto', $x); |
|
791 | $this->Texto(':', $x+$offset); |
|
792 | $this->setFont('', '', null); |
|
793 | $this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
|
794 | } |
|
795 | if (!empty($Encabezado['RUTSolicita'])) { |
|
796 | list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
|
797 | $this->setFont('', 'B', null); |
|
@@ 824-830 (lines=7) @@ | ||
821 | protected function agregarTraslado($IndTraslado, array $Transporte = null, $x = 10, $offset = 22) |
|
822 | { |
|
823 | // agregar tipo de traslado |
|
824 | if ($IndTraslado) { |
|
825 | $this->setFont('', 'B', null); |
|
826 | $this->Texto('Tipo oper.', $x); |
|
827 | $this->Texto(':', $x+$offset); |
|
828 | $this->setFont('', '', null); |
|
829 | $this->MultiTexto($this->traslados[$IndTraslado], $x+$offset+2); |
|
830 | } |
|
831 | // agregar información de transporte |
|
832 | if ($Transporte) { |
|
833 | $transporte = ''; |
|
@@ 849-855 (lines=7) @@ | ||
846 | $transporte .= ' ('.$Transporte['Chofer']['RUTChofer'].')'; |
|
847 | } |
|
848 | } |
|
849 | if ($transporte) { |
|
850 | $this->setFont('', 'B', null); |
|
851 | $this->Texto('Traslado', $x); |
|
852 | $this->Texto(':', $x+$offset); |
|
853 | $this->setFont('', '', null); |
|
854 | $this->MultiTexto(ucfirst(trim($transporte)), $x+$offset+2); |
|
855 | } |
|
856 | } |
|
857 | // agregar información de aduana |
|
858 | if (!empty($Transporte['Aduana']) and is_array($Transporte['Aduana'])) { |