Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 517-519 (lines=3) @@
514
                $this->MultiTexto('PerĂ­odo del '.date('d/m/y', strtotime($IdDoc['PeriodoDesde'])).' al '.date('d/m/y', strtotime($IdDoc['PeriodoHasta'])), $x, null, 'R');
515
            }
516
            // pago anticicado
517
            if (!empty($IdDoc['FchCancel'])) {
518
                $this->MultiTexto('Pagado el '.$this->date($IdDoc['FchCancel'], false), $x, null, 'R');
519
            }
520
            // fecha vencimiento
521
            if (!empty($IdDoc['FchVenc'])) {
522
                $this->MultiTexto('Vence el '.$this->date($IdDoc['FchVenc'], false), $x, null, 'R');
@@ 521-523 (lines=3) @@
518
                $this->MultiTexto('Pagado el '.$this->date($IdDoc['FchCancel'], false), $x, null, 'R');
519
            }
520
            // fecha vencimiento
521
            if (!empty($IdDoc['FchVenc'])) {
522
                $this->MultiTexto('Vence el '.$this->date($IdDoc['FchVenc'], false), $x, null, 'R');
523
            }
524
            // forma de pago nacional
525
            if (!empty($IdDoc['FmaPago'])) {
526
                $this->MultiTexto('Venta: '.strtolower($this->formas_pago[$IdDoc['FmaPago']]), $x, null, 'R');