|
@@ 333-334 (lines=2) @@
|
| 330 |
|
$this->agregarSubTotal($dte['Detalle']); |
| 331 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal']); |
| 332 |
|
} |
| 333 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
| 334 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos']); |
| 335 |
|
} |
| 336 |
|
// agregar observaciones |
| 337 |
|
$this->x_fin_datos = $this->getY(); |
|
@@ 404-408 (lines=5) @@
|
| 401 |
|
$this->agregarSubTotal($dte['Detalle'], $x_start); |
| 402 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start); |
| 403 |
|
} |
| 404 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
| 405 |
|
$this->Ln(); |
| 406 |
|
$this->Ln(); |
| 407 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos'], $x_start); |
| 408 |
|
} |
| 409 |
|
$this->agregarTotales($dte['Encabezado']['Totales'], !empty($dte['Encabezado']['OtraMoneda']) ? $dte['Encabezado']['OtraMoneda'] : null, $this->y+6, 23, 17); |
| 410 |
|
// agregar acuse de recibo y leyenda cedible |
| 411 |
|
if ($this->cedible and !in_array($dte['Encabezado']['IdDoc']['TipoDTE'], $this->sinAcuseRecibo)) { |