@@ 741-747 (lines=7) @@ | ||
738 | $this->setFont('', '', null); |
|
739 | $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0); |
|
740 | } |
|
741 | if (!empty($receptor['GiroRecep'])) { |
|
742 | $this->setFont('', 'B', null); |
|
743 | $this->Texto('Giro', $x); |
|
744 | $this->Texto(':', $x+$offset); |
|
745 | $this->setFont('', '', null); |
|
746 | $this->MultiTexto($receptor['GiroRecep'], $x+$offset+2); |
|
747 | } |
|
748 | if (!empty($receptor['DirRecep'])) { |
|
749 | $this->setFont('', 'B', null); |
|
750 | $this->Texto('Dirección', $x); |
|
@@ 777-783 (lines=7) @@ | ||
774 | $contacto[] = $receptor['Contacto']; |
|
775 | if (!empty($receptor['CorreoRecep'])) |
|
776 | $contacto[] = $receptor['CorreoRecep']; |
|
777 | if (!empty($contacto)) { |
|
778 | $this->setFont('', 'B', null); |
|
779 | $this->Texto('Contacto', $x); |
|
780 | $this->Texto(':', $x+$offset); |
|
781 | $this->setFont('', '', null); |
|
782 | $this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
|
783 | } |
|
784 | if (!empty($Encabezado['RUTSolicita'])) { |
|
785 | list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
|
786 | $this->setFont('', 'B', null); |
|
@@ 813-819 (lines=7) @@ | ||
810 | protected function agregarTraslado($IndTraslado, array $Transporte = null, $x = 10, $offset = 22) |
|
811 | { |
|
812 | // agregar tipo de traslado |
|
813 | if ($IndTraslado) { |
|
814 | $this->setFont('', 'B', null); |
|
815 | $this->Texto('Tipo oper.', $x); |
|
816 | $this->Texto(':', $x+$offset); |
|
817 | $this->setFont('', '', null); |
|
818 | $this->MultiTexto($this->traslados[$IndTraslado], $x+$offset+2); |
|
819 | } |
|
820 | // agregar información de transporte |
|
821 | if ($Transporte) { |
|
822 | $transporte = ''; |
|
@@ 838-844 (lines=7) @@ | ||
835 | $transporte .= ' ('.$Transporte['Chofer']['RUTChofer'].')'; |
|
836 | } |
|
837 | } |
|
838 | if ($transporte) { |
|
839 | $this->setFont('', 'B', null); |
|
840 | $this->Texto('Traslado', $x); |
|
841 | $this->Texto(':', $x+$offset); |
|
842 | $this->setFont('', '', null); |
|
843 | $this->MultiTexto(ucfirst(trim($transporte)), $x+$offset+2); |
|
844 | } |
|
845 | } |
|
846 | // agregar información de aduana |
|
847 | if (!empty($Transporte['Aduana']) and is_array($Transporte['Aduana'])) { |