Code Duplication    Length = 3-3 lines in 2 locations

lib/Sii/Dte/PDF/Dte.php 2 locations

@@ 660-662 (lines=3) @@
657
                $this->MultiTexto('PerĂ­odo del '.date('d/m/y', strtotime($IdDoc['PeriodoDesde'])).' al '.date('d/m/y', strtotime($IdDoc['PeriodoHasta'])), $x, null, 'R');
658
            }
659
            // pago anticicado
660
            if (!empty($IdDoc['FchCancel'])) {
661
                $this->MultiTexto('Pagado el '.$this->date($IdDoc['FchCancel'], false), $x, null, 'R');
662
            }
663
            // fecha vencimiento
664
            if (!empty($IdDoc['FchVenc'])) {
665
                $this->MultiTexto('Vence el '.$this->date($IdDoc['FchVenc'], false), $x, null, 'R');
@@ 664-666 (lines=3) @@
661
                $this->MultiTexto('Pagado el '.$this->date($IdDoc['FchCancel'], false), $x, null, 'R');
662
            }
663
            // fecha vencimiento
664
            if (!empty($IdDoc['FchVenc'])) {
665
                $this->MultiTexto('Vence el '.$this->date($IdDoc['FchVenc'], false), $x, null, 'R');
666
            }
667
            // forma de pago nacional
668
            if (!empty($IdDoc['FmaPago'])) {
669
                $this->MultiTexto('Venta: '.strtolower($this->formas_pago[$IdDoc['FmaPago']]), $x, null, 'R');