Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 649-651 (lines=3) @@
646
                $this->MultiTexto('PerĂ­odo del '.date('d/m/y', strtotime($IdDoc['PeriodoDesde'])).' al '.date('d/m/y', strtotime($IdDoc['PeriodoHasta'])), $x, null, 'R');
647
            }
648
            // pago anticicado
649
            if (!empty($IdDoc['FchCancel'])) {
650
                $this->MultiTexto('Pagado el '.$this->date($IdDoc['FchCancel'], false), $x, null, 'R');
651
            }
652
            // fecha vencimiento
653
            if (!empty($IdDoc['FchVenc'])) {
654
                $this->MultiTexto('Vence el '.$this->date($IdDoc['FchVenc'], false), $x, null, 'R');
@@ 653-655 (lines=3) @@
650
                $this->MultiTexto('Pagado el '.$this->date($IdDoc['FchCancel'], false), $x, null, 'R');
651
            }
652
            // fecha vencimiento
653
            if (!empty($IdDoc['FchVenc'])) {
654
                $this->MultiTexto('Vence el '.$this->date($IdDoc['FchVenc'], false), $x, null, 'R');
655
            }
656
            // forma de pago nacional
657
            if (!empty($IdDoc['FmaPago'])) {
658
                $this->MultiTexto('Venta: '.strtolower($this->formas_pago[$IdDoc['FmaPago']]), $x, null, 'R');