|
@@ 320-321 (lines=2) @@
|
| 317 |
|
$this->agregarSubTotal($dte['Detalle']); |
| 318 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal']); |
| 319 |
|
} |
| 320 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) |
| 321 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos']); |
| 322 |
|
$this->agregarTotales($dte['Encabezado']['Totales']); |
| 323 |
|
// agregar observaciones |
| 324 |
|
$this->agregarObservacion($dte['Encabezado']['IdDoc']); |
|
@@ 388-392 (lines=5) @@
|
| 385 |
|
$this->agregarSubTotal($dte['Detalle'], $x_start); |
| 386 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start); |
| 387 |
|
} |
| 388 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
| 389 |
|
$this->Ln(); |
| 390 |
|
$this->Ln(); |
| 391 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos'], $x_start); |
| 392 |
|
} |
| 393 |
|
$this->agregarTotales($dte['Encabezado']['Totales'], $this->y+6, 23, 17); |
| 394 |
|
// agregar acuse de recibo y leyenda cedible |
| 395 |
|
if ($this->cedible and !in_array($dte['Encabezado']['IdDoc']['TipoDTE'], $this->sinAcuseRecibo)) { |