@@ 758-764 (lines=7) @@ | ||
755 | $this->setFont('', '', null); |
|
756 | $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0); |
|
757 | } |
|
758 | if (!empty($receptor['GiroRecep'])) { |
|
759 | $this->setFont('', 'B', null); |
|
760 | $this->Texto('Giro', $x); |
|
761 | $this->Texto(':', $x+$offset); |
|
762 | $this->setFont('', '', null); |
|
763 | $this->MultiTexto($receptor['GiroRecep'], $x+$offset+2); |
|
764 | } |
|
765 | if (!empty($receptor['DirRecep'])) { |
|
766 | $this->setFont('', 'B', null); |
|
767 | $this->Texto('Dirección', $x); |
|
@@ 794-800 (lines=7) @@ | ||
791 | $contacto[] = $receptor['Contacto']; |
|
792 | if (!empty($receptor['CorreoRecep'])) |
|
793 | $contacto[] = $receptor['CorreoRecep']; |
|
794 | if (!empty($contacto)) { |
|
795 | $this->setFont('', 'B', null); |
|
796 | $this->Texto('Contacto', $x); |
|
797 | $this->Texto(':', $x+$offset); |
|
798 | $this->setFont('', '', null); |
|
799 | $this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
|
800 | } |
|
801 | if (!empty($Encabezado['RUTSolicita'])) { |
|
802 | list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
|
803 | $this->setFont('', 'B', null); |
|
@@ 830-836 (lines=7) @@ | ||
827 | protected function agregarTraslado($IndTraslado, array $Transporte = null, $x = 10, $offset = 22) |
|
828 | { |
|
829 | // agregar tipo de traslado |
|
830 | if ($IndTraslado) { |
|
831 | $this->setFont('', 'B', null); |
|
832 | $this->Texto('Tipo oper.', $x); |
|
833 | $this->Texto(':', $x+$offset); |
|
834 | $this->setFont('', '', null); |
|
835 | $this->MultiTexto($this->traslados[$IndTraslado], $x+$offset+2); |
|
836 | } |
|
837 | // agregar información de transporte |
|
838 | if ($Transporte) { |
|
839 | $transporte = ''; |
|
@@ 853-859 (lines=7) @@ | ||
850 | if (!empty($Transporte['Chofer']['RUTChofer'])) |
|
851 | $transporte .= ' ('.$Transporte['Chofer']['RUTChofer'].')'; |
|
852 | } |
|
853 | if ($transporte) { |
|
854 | $this->setFont('', 'B', null); |
|
855 | $this->Texto('Traslado', $x); |
|
856 | $this->Texto(':', $x+$offset); |
|
857 | $this->setFont('', '', null); |
|
858 | $this->MultiTexto(ucfirst(trim($transporte)), $x+$offset+2); |
|
859 | } |
|
860 | } |
|
861 | // agregar información de aduana |
|
862 | if (!empty($Transporte['Aduana']) and is_array($Transporte['Aduana'])) { |