@@ 778-784 (lines=7) @@ | ||
775 | $this->setFont('', '', null); |
|
776 | $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0); |
|
777 | } |
|
778 | if (!empty($receptor['GiroRecep'])) { |
|
779 | $this->setFont('', 'B', null); |
|
780 | $this->Texto('Giro', $x); |
|
781 | $this->Texto(':', $x+$offset); |
|
782 | $this->setFont('', '', null); |
|
783 | $this->MultiTexto($receptor['GiroRecep'], $x+$offset+2); |
|
784 | } |
|
785 | if (!empty($receptor['DirRecep'])) { |
|
786 | $this->setFont('', 'B', null); |
|
787 | $this->Texto('Dirección', $x); |
|
@@ 814-820 (lines=7) @@ | ||
811 | $contacto[] = $receptor['Contacto']; |
|
812 | if (!empty($receptor['CorreoRecep'])) |
|
813 | $contacto[] = $receptor['CorreoRecep']; |
|
814 | if (!empty($contacto)) { |
|
815 | $this->setFont('', 'B', null); |
|
816 | $this->Texto('Contacto', $x); |
|
817 | $this->Texto(':', $x+$offset); |
|
818 | $this->setFont('', '', null); |
|
819 | $this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
|
820 | } |
|
821 | if (!empty($Encabezado['RUTSolicita'])) { |
|
822 | list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
|
823 | $this->setFont('', 'B', null); |
|
@@ 850-856 (lines=7) @@ | ||
847 | protected function agregarTraslado($IndTraslado, array $Transporte = null, $x = 10, $offset = 22) |
|
848 | { |
|
849 | // agregar tipo de traslado |
|
850 | if ($IndTraslado) { |
|
851 | $this->setFont('', 'B', null); |
|
852 | $this->Texto('Tipo oper.', $x); |
|
853 | $this->Texto(':', $x+$offset); |
|
854 | $this->setFont('', '', null); |
|
855 | $this->MultiTexto($this->traslados[$IndTraslado], $x+$offset+2); |
|
856 | } |
|
857 | // agregar información de transporte |
|
858 | if ($Transporte) { |
|
859 | $transporte = ''; |
|
@@ 873-879 (lines=7) @@ | ||
870 | if (!empty($Transporte['Chofer']['RUTChofer'])) |
|
871 | $transporte .= ' ('.$Transporte['Chofer']['RUTChofer'].')'; |
|
872 | } |
|
873 | if ($transporte) { |
|
874 | $this->setFont('', 'B', null); |
|
875 | $this->Texto('Traslado', $x); |
|
876 | $this->Texto(':', $x+$offset); |
|
877 | $this->setFont('', '', null); |
|
878 | $this->MultiTexto(ucfirst(trim($transporte)), $x+$offset+2); |
|
879 | } |
|
880 | } |
|
881 | // agregar información de aduana |
|
882 | if (!empty($Transporte['Aduana']) and is_array($Transporte['Aduana'])) { |