@@ 732-739 (lines=8) @@ | ||
729 | private function agregarReceptor(array $Encabezado, $x = 10, $offset = 22) |
|
730 | { |
|
731 | $receptor = $Encabezado['Receptor']; |
|
732 | if (!empty($receptor['RUTRecep']) and $receptor['RUTRecep']!='66666666-6') { |
|
733 | list($rut, $dv) = explode('-', $receptor['RUTRecep']); |
|
734 | $this->setFont('', 'B', null); |
|
735 | $this->Texto('R.U.T.', $x); |
|
736 | $this->Texto(':', $x+$offset); |
|
737 | $this->setFont('', '', null); |
|
738 | $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
|
739 | } |
|
740 | if (!empty($receptor['RznSocRecep'])) { |
|
741 | $this->setFont('', 'B', null); |
|
742 | $this->Texto('Señor(es)', $x); |
|
@@ 790-797 (lines=8) @@ | ||
787 | $this->setFont('', '', null); |
|
788 | $this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
|
789 | } |
|
790 | if (!empty($Encabezado['RUTSolicita'])) { |
|
791 | list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
|
792 | $this->setFont('', 'B', null); |
|
793 | $this->Texto('RUT solicita', $x); |
|
794 | $this->Texto(':', $x+$offset); |
|
795 | $this->setFont('', '', null); |
|
796 | $this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
|
797 | } |
|
798 | if (!empty($receptor['CdgIntRecep'])) { |
|
799 | $this->setFont('', 'B', null); |
|
800 | $this->Texto('Cód. recep.', $x); |