|
@@ 199-201 (lines=3) @@
|
| 196 |
|
$this->agregarSubTotal($dte['Detalle']); |
| 197 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal']); |
| 198 |
|
} |
| 199 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
| 200 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos']); |
| 201 |
|
} |
| 202 |
|
// agregar observaciones |
| 203 |
|
$this->x_fin_datos = $this->getY(); |
| 204 |
|
$this->agregarObservacion($dte['Encabezado']['IdDoc']); |
|
@@ 270-274 (lines=5) @@
|
| 267 |
|
$this->agregarSubTotal($dte['Detalle'], $x_start); |
| 268 |
|
$this->agregarDescuentosRecargos($dte['DscRcgGlobal'], $x_start); |
| 269 |
|
} |
| 270 |
|
if (!empty($dte['Encabezado']['IdDoc']['MntPagos'])) { |
| 271 |
|
$this->Ln(); |
| 272 |
|
$this->Ln(); |
| 273 |
|
$this->agregarPagos($dte['Encabezado']['IdDoc']['MntPagos'], $x_start); |
| 274 |
|
} |
| 275 |
|
$this->agregarTotales($dte['Encabezado']['Totales'], !empty($dte['Encabezado']['OtraMoneda']) ? $dte['Encabezado']['OtraMoneda'] : null, $this->y+6, 23, 17); |
| 276 |
|
// agregar acuse de recibo y leyenda cedible |
| 277 |
|
if ($this->cedible and !in_array($dte['Encabezado']['IdDoc']['TipoDTE'], $this->sinAcuseRecibo)) { |