@@ 703-710 (lines=8) @@ | ||
700 | private function agregarReceptor(array $Encabezado, $x = 10, $offset = 22) |
|
701 | { |
|
702 | $receptor = $Encabezado['Receptor']; |
|
703 | if (!empty($receptor['RUTRecep']) and $receptor['RUTRecep']!='66666666-6') { |
|
704 | list($rut, $dv) = explode('-', $receptor['RUTRecep']); |
|
705 | $this->setFont('', 'B', null); |
|
706 | $this->Texto('R.U.T.', $x); |
|
707 | $this->Texto(':', $x+$offset); |
|
708 | $this->setFont('', '', null); |
|
709 | $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
|
710 | } |
|
711 | if (!empty($receptor['RznSocRecep'])) { |
|
712 | $this->setFont('', 'B', null); |
|
713 | $this->Texto('Señor(es)', $x); |
|
@@ 761-768 (lines=8) @@ | ||
758 | $this->setFont('', '', null); |
|
759 | $this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
|
760 | } |
|
761 | if (!empty($Encabezado['RUTSolicita'])) { |
|
762 | list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
|
763 | $this->setFont('', 'B', null); |
|
764 | $this->Texto('RUT solicita', $x); |
|
765 | $this->Texto(':', $x+$offset); |
|
766 | $this->setFont('', '', null); |
|
767 | $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
|
768 | } |
|
769 | if (!empty($receptor['CdgIntRecep'])) { |
|
770 | $this->setFont('', 'B', null); |
|
771 | $this->Texto('Cód. recep.', $x); |