@@ 211-213 (lines=3) @@ | ||
208 | $this->agregarSubTotal($dte['Detalle']); |
|
209 | $this->agregarDescuentosRecargos($dte['DscRcgGlobal']); |
|
210 | } |
|
211 | if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
|
212 | $this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos']); |
|
213 | } |
|
214 | // agregar observaciones |
|
215 | $this->x_fin_datos = $this->getY(); |
|
216 | $this->agregarObservacion($dte['Encabezado']['IdDoc']); |
|
@@ 385-389 (lines=5) @@ | ||
382 | $this->agregarSubTotal($dte['Detalle'], $x_start); |
|
383 | $this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start); |
|
384 | } |
|
385 | if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
|
386 | $this->Ln(); |
|
387 | $this->Ln(); |
|
388 | $this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos'], $x_start); |
|
389 | } |
|
390 | $this->agregarTotales($dte['Encabezado']['Totales'], !empty($dte['Encabezado']['OtraMoneda']) ? $dte['Encabezado']['OtraMoneda'] : null, $this->y+6, 23, 17); |
|
391 | // agregar acuse de recibo y leyenda cedible |
|
392 | if ($this->cedible and !in_array($dte['Encabezado']['IdDoc']['TipoDTE'], $this->sinAcuseRecibo)) { |
|
@@ 462-466 (lines=5) @@ | ||
459 | $this->agregarSubTotal($dte['Detalle'], $x_start); |
|
460 | $this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start); |
|
461 | } |
|
462 | if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
|
463 | $this->Ln(); |
|
464 | $this->Ln(); |
|
465 | $this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos'], $x_start); |
|
466 | } |
|
467 | $this->agregarTotales($dte['Encabezado']['Totales'], !empty($dte['Encabezado']['OtraMoneda']) ? $dte['Encabezado']['OtraMoneda'] : null, $this->y+6, 61, 17); |
|
468 | // agregar observaciones |
|
469 | $y = $this->agregarObservacion($dte['Encabezado']['IdDoc'], $x_start, $this->y+6); |