|
@@ 763-770 (lines=8) @@
|
| 760 |
|
protected function agregarReceptor(array $Encabezado, $x = 10, $offset = 22) |
| 761 |
|
{ |
| 762 |
|
$receptor = $Encabezado['Receptor']; |
| 763 |
|
if (!empty($receptor['RUTRecep']) and $receptor['RUTRecep']!='66666666-6') { |
| 764 |
|
list($rut, $dv) = explode('-', $receptor['RUTRecep']); |
| 765 |
|
$this->setFont('', 'B', null); |
| 766 |
|
$this->Texto('R.U.T.', $x); |
| 767 |
|
$this->Texto(':', $x+$offset); |
| 768 |
|
$this->setFont('', '', null); |
| 769 |
|
$this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
| 770 |
|
} |
| 771 |
|
if (!empty($receptor['RznSocRecep'])) { |
| 772 |
|
$this->setFont('', 'B', null); |
| 773 |
|
$this->Texto('Señor(es)', $x); |
|
@@ 821-828 (lines=8) @@
|
| 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); |
| 824 |
|
$this->Texto('RUT solicita', $x); |
| 825 |
|
$this->Texto(':', $x+$offset); |
| 826 |
|
$this->setFont('', '', null); |
| 827 |
|
$this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
| 828 |
|
} |
| 829 |
|
if (!empty($receptor['CdgIntRecep'])) { |
| 830 |
|
$this->setFont('', 'B', null); |
| 831 |
|
$this->Texto('Cód. recep.', $x); |