@@ 725-731 (lines=7) @@ | ||
722 | $this->setFont('', '', null); |
|
723 | $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0); |
|
724 | } |
|
725 | if (!empty($receptor['GiroRecep'])) { |
|
726 | $this->setFont('', 'B', null); |
|
727 | $this->Texto('Giro', $x); |
|
728 | $this->Texto(':', $x+$offset); |
|
729 | $this->setFont('', '', null); |
|
730 | $this->MultiTexto($receptor['GiroRecep'], $x+$offset+2); |
|
731 | } |
|
732 | if (!empty($receptor['DirRecep'])) { |
|
733 | $this->setFont('', 'B', null); |
|
734 | $this->Texto('Dirección', $x); |
|
@@ 761-767 (lines=7) @@ | ||
758 | $contacto[] = $receptor['Contacto']; |
|
759 | if (!empty($receptor['CorreoRecep'])) |
|
760 | $contacto[] = $receptor['CorreoRecep']; |
|
761 | if (!empty($contacto)) { |
|
762 | $this->setFont('', 'B', null); |
|
763 | $this->Texto('Contacto', $x); |
|
764 | $this->Texto(':', $x+$offset); |
|
765 | $this->setFont('', '', null); |
|
766 | $this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
|
767 | } |
|
768 | if (!empty($Encabezado['RUTSolicita'])) { |
|
769 | list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
|
770 | $this->setFont('', 'B', null); |
|
@@ 797-803 (lines=7) @@ | ||
794 | protected function agregarTraslado($IndTraslado, array $Transporte = null, $x = 10, $offset = 22) |
|
795 | { |
|
796 | // agregar tipo de traslado |
|
797 | if ($IndTraslado) { |
|
798 | $this->setFont('', 'B', null); |
|
799 | $this->Texto('Tipo oper.', $x); |
|
800 | $this->Texto(':', $x+$offset); |
|
801 | $this->setFont('', '', null); |
|
802 | $this->MultiTexto($this->traslados[$IndTraslado], $x+$offset+2); |
|
803 | } |
|
804 | // agregar información de transporte |
|
805 | if ($Transporte) { |
|
806 | $transporte = ''; |
|
@@ 822-828 (lines=7) @@ | ||
819 | $transporte .= ' ('.$Transporte['Chofer']['RUTChofer'].')'; |
|
820 | } |
|
821 | } |
|
822 | if ($transporte) { |
|
823 | $this->setFont('', 'B', null); |
|
824 | $this->Texto('Traslado', $x); |
|
825 | $this->Texto(':', $x+$offset); |
|
826 | $this->setFont('', '', null); |
|
827 | $this->MultiTexto(ucfirst(trim($transporte)), $x+$offset+2); |
|
828 | } |
|
829 | } |
|
830 | // agregar información de aduana |
|
831 | if (!empty($Transporte['Aduana']) and is_array($Transporte['Aduana'])) { |