|
@@ 594-601 (lines=8) @@
|
| 591 |
|
protected function agregarReceptor(array $Encabezado, $x = 10, $offset = 22) |
| 592 |
|
{ |
| 593 |
|
$receptor = $Encabezado['Receptor']; |
| 594 |
|
if (!empty($receptor['RUTRecep']) and $receptor['RUTRecep']!='66666666-6') { |
| 595 |
|
list($rut, $dv) = explode('-', $receptor['RUTRecep']); |
| 596 |
|
$this->setFont('', 'B', null); |
| 597 |
|
$this->Texto('R.U.T.', $x); |
| 598 |
|
$this->Texto(':', $x+$offset); |
| 599 |
|
$this->setFont('', '', null); |
| 600 |
|
$this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
| 601 |
|
} |
| 602 |
|
if (!empty($receptor['RznSocRecep'])) { |
| 603 |
|
$this->setFont('', 'B', null); |
| 604 |
|
$this->Texto('Señor(es)', $x); |
|
@@ 652-659 (lines=8) @@
|
| 649 |
|
$this->setFont('', '', null); |
| 650 |
|
$this->MultiTexto(implode(' / ', $contacto), $x+$offset+2); |
| 651 |
|
} |
| 652 |
|
if (!empty($Encabezado['RUTSolicita'])) { |
| 653 |
|
list($rut, $dv) = explode('-', $Encabezado['RUTSolicita']); |
| 654 |
|
$this->setFont('', 'B', null); |
| 655 |
|
$this->Texto('RUT solicita', $x); |
| 656 |
|
$this->Texto(':', $x+$offset); |
| 657 |
|
$this->setFont('', '', null); |
| 658 |
|
$this->MultiTexto($this->num($rut).'-'.$dv, $x+$offset+2); |
| 659 |
|
} |
| 660 |
|
if (!empty($receptor['CdgIntRecep'])) { |
| 661 |
|
$this->setFont('', 'B', null); |
| 662 |
|
$this->Texto('Cód. recep.', $x); |