| @@ 637-643 (lines=7) @@ | ||
| 634 | $this->setFont('', '', null); |
|
| 635 | $this->MultiTexto($receptor['RznSocRecep'], $x+$offset+2, null, '', $x==10?105:0); |
|
| 636 | } |
|
| 637 | if (!empty($receptor['GiroRecep'])) { |
|
| 638 | $this->setFont('', 'B', null); |
|
| 639 | $this->Texto('Giro', $x); |
|
| 640 | $this->Texto(':', $x+$offset); |
|
| 641 | $this->setFont('', '', null); |
|
| 642 | $this->MultiTexto($receptor['GiroRecep'], $x+$offset+2); |
|
| 643 | } |
|
| 644 | if (!empty($receptor['DirRecep'])) { |
|
| 645 | $this->setFont('', 'B', null); |
|
| 646 | $this->Texto('Dirección', $x); |
|
| @@ 666-672 (lines=7) @@ | ||
| 663 | $contacto[] = $receptor['Contacto']; |
|
| 664 | if (!empty($receptor['CorreoRecep'])) |
|
| 665 | $contacto[] = $receptor['CorreoRecep']; |
|
| 666 | if (!empty($contacto)) { |
|
| 667 | $this->setFont('', 'B', null); |
|
| 668 | $this->Texto('Contacto', $x); |
|
| 669 | $this->Texto(':', $x+$offset); |
|
| 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); |
|
| @@ 702-708 (lines=7) @@ | ||
| 699 | private function agregarTraslado($IndTraslado, array $Transporte = null, $x = 10, $offset = 22) |
|
| 700 | { |
|
| 701 | // agregar tipo de traslado |
|
| 702 | if ($IndTraslado) { |
|
| 703 | $this->setFont('', 'B', null); |
|
| 704 | $this->Texto('Tipo oper.', $x); |
|
| 705 | $this->Texto(':', $x+$offset); |
|
| 706 | $this->setFont('', '', null); |
|
| 707 | $this->MultiTexto($this->traslados[$IndTraslado], $x+$offset+2); |
|
| 708 | } |
|
| 709 | // agregar información de transporte |
|
| 710 | if ($Transporte) { |
|
| 711 | $transporte = ''; |
|
| @@ 725-731 (lines=7) @@ | ||
| 722 | if (!empty($Transporte['Chofer']['RUTChofer'])) |
|
| 723 | $transporte .= ' ('.$Transporte['Chofer']['RUTChofer'].')'; |
|
| 724 | } |
|
| 725 | if ($transporte) { |
|
| 726 | $this->setFont('', 'B', null); |
|
| 727 | $this->Texto('Traslado', $x); |
|
| 728 | $this->Texto(':', $x+$offset); |
|
| 729 | $this->setFont('', '', null); |
|
| 730 | $this->MultiTexto(ucfirst(trim($transporte)), $x+$offset+2); |
|
| 731 | } |
|
| 732 | } |
|
| 733 | // agregar información de aduana |
|
| 734 | if (!empty($Transporte['Aduana']) and is_array($Transporte['Aduana'])) { |
|