|
@@ 200-202 (lines=3) @@
|
| 197 |
|
$this->agregarSubTotal($dte['Detalle']); |
| 198 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal']); |
| 199 |
|
} |
| 200 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
| 201 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos']); |
| 202 |
|
} |
| 203 |
|
// agregar observaciones |
| 204 |
|
$this->x_fin_datos = $this->getY(); |
| 205 |
|
$this->agregarObservacion($dte['Encabezado']['IdDoc']); |
|
@@ 374-378 (lines=5) @@
|
| 371 |
|
$this->agregarSubTotal($dte['Detalle'], $x_start); |
| 372 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start); |
| 373 |
|
} |
| 374 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
| 375 |
|
$this->Ln(); |
| 376 |
|
$this->Ln(); |
| 377 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos'], $x_start); |
| 378 |
|
} |
| 379 |
|
$this->agregarTotales($dte['Encabezado']['Totales'], !empty($dte['Encabezado']['OtraMoneda']) ? $dte['Encabezado']['OtraMoneda'] : null, $this->y+6, 23, 17); |
| 380 |
|
// agregar acuse de recibo y leyenda cedible |
| 381 |
|
if ($this->cedible and !in_array($dte['Encabezado']['IdDoc']['TipoDTE'], $this->sinAcuseRecibo)) { |
|
@@ 451-455 (lines=5) @@
|
| 448 |
|
$this->agregarSubTotal($dte['Detalle'], $x_start); |
| 449 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start); |
| 450 |
|
} |
| 451 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
| 452 |
|
$this->Ln(); |
| 453 |
|
$this->Ln(); |
| 454 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos'], $x_start); |
| 455 |
|
} |
| 456 |
|
$this->agregarTotales($dte['Encabezado']['Totales'], !empty($dte['Encabezado']['OtraMoneda']) ? $dte['Encabezado']['OtraMoneda'] : null, $this->y+6, 61, 17); |
| 457 |
|
// agregar observaciones |
| 458 |
|
$y = $this->agregarObservacion($dte['Encabezado']['IdDoc'], $x_start, $this->y+6); |