Code Duplication    Length = 3-3 lines in 2 locations

lib/Sii/PDF/Dte.php 2 locations

@@ 676-678 (lines=3) @@
673
                $this->MultiTexto('Vence el '.$this->date($IdDoc['FchVenc'], false), $x, null, 'R');
674
            }
675
            // forma de pago nacional
676
            if (!empty($IdDoc['FmaPago'])) {
677
                $this->MultiTexto('Venta: '.strtolower($this->formas_pago[$IdDoc['FmaPago']]), $x, null, 'R');
678
            }
679
            // forma de pago exportación
680
            if (!empty($IdDoc['FmaPagExp'])) {
681
                $this->MultiTexto('Venta: '.strtolower($this->formas_pago_exportacion[$IdDoc['FmaPagExp']]), $x, null, 'R');
@@ 680-682 (lines=3) @@
677
                $this->MultiTexto('Venta: '.strtolower($this->formas_pago[$IdDoc['FmaPago']]), $x, null, 'R');
678
            }
679
            // forma de pago exportación
680
            if (!empty($IdDoc['FmaPagExp'])) {
681
                $this->MultiTexto('Venta: '.strtolower($this->formas_pago_exportacion[$IdDoc['FmaPagExp']]), $x, null, 'R');
682
            }
683
            // vendedor
684
            if (!empty($CdgVendedor)) {
685
                $this->MultiTexto('Vendedor: '.$CdgVendedor, $x, null, 'R');