|
@@ 622-629 (lines=8) @@
|
| 619 |
|
private function agregarReceptor(array $Encabezado, $x = 10, $offset = 22) |
| 620 |
|
{ |
| 621 |
|
$receptor = $Encabezado['Receptor']; |
| 622 |
|
if (!empty($receptor['RUTRecep']) and $receptor['RUTRecep']!='66666666-6') { |
| 623 |
|
list($rut, $dv) = explode('-', $receptor['RUTRecep']); |
| 624 |
|
$this->setFont('', 'B', null); |
| 625 |
|
$this->Texto('R.U.T.', $x); |
| 626 |
|
$this->Texto(':', $x+$offset); |
| 627 |
|
$this->setFont('', '', null); |
| 628 |
|
$this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
| 629 |
|
} |
| 630 |
|
if (!empty($receptor['RznSocRecep'])) { |
| 631 |
|
$this->setFont('', 'B', null); |
| 632 |
|
$this->Texto('Señor(es)', $x); |
|
@@ 673-680 (lines=8) @@
|
| 670 |
|
$this->setFont('', '', null); |
| 671 |
|
$this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
| 672 |
|
} |
| 673 |
|
if (!empty($Encabezado['RUTSolicita'])) { |
| 674 |
|
list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
| 675 |
|
$this->setFont('', 'B', null); |
| 676 |
|
$this->Texto('RUT solicita', $x); |
| 677 |
|
$this->Texto(':', $x+$offset); |
| 678 |
|
$this->setFont('', '', null); |
| 679 |
|
$this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
| 680 |
|
} |
| 681 |
|
if (!empty($receptor['CdgIntRecep'])) { |
| 682 |
|
$this->setFont('', 'B', null); |
| 683 |
|
$this->Texto('Cód. recep.', $x); |