@@ 312-313 (lines=2) @@ | ||
309 | $this->agregarSubTotal($dte['Detalle']); |
|
310 | $this->agregarDescuentosRecargos($dte['DscRcgGlobal']); |
|
311 | } |
|
312 | if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) |
|
313 | $this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos']); |
|
314 | $this->agregarTotales($dte['Encabezado']['Totales']); |
|
315 | // agregar observaciones |
|
316 | $this->agregarObservacion($dte['Encabezado']['IdDoc']); |
|
@@ 380-384 (lines=5) @@ | ||
377 | $this->agregarSubTotal($dte['Detalle'], $x_start); |
|
378 | $this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start); |
|
379 | } |
|
380 | if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
|
381 | $this->Ln(); |
|
382 | $this->Ln(); |
|
383 | $this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos'], $x_start); |
|
384 | } |
|
385 | $this->agregarTotales($dte['Encabezado']['Totales'], $this->y+6, 23, 17); |
|
386 | // agregar acuse de recibo y leyenda cedible |
|
387 | if ($this->cedible and !in_array($dte['Encabezado']['IdDoc']['TipoDTE'], $this->sinAcuseRecibo)) { |