<tr class="<?php echo $sEstilo; ?> " > <td><input type="checkbox" id="chkID[]" name="chkID[]" value="<?php echo $arListaFacturas[$i]['IDN']; ?> " /></td> <td><?php echo $arListaFacturas[$i]["IDN"]; ?> </td> <td><?php $oClienteUI = new CCliente($arListaFacturas[$i]["IDCLIENTE"], null, null, null, null, null, null, null, null, null, null, null, null); $oClienteUI->pAtributosDesdeIDN($oBD); echo $oClienteUI->getEmpresa(); ?> </td> <td><?php echo $arListaFacturas[$i]["FECHA"]; ?> </td> <td style="text-align:right;"><?php printf("%01.2f", $arListaFacturas[$i]["SUBTOTAL"]); ?> €</td> <td style="text-align:right;"><?php printf("%01.2f", $arListaFacturas[$i]["IVA"]); ?> €</td> <td style="text-align:right;"><?php
function Cliente(CCliente $oCliente) { $this->SetFont('Arial', 'BU', 12); $this->Cell(0, 7, 'FACTURAR A:', 0, 0, 'L'); $this->Ln(); $this->SetFont('Arial', 'B', 12); $this->Cell(0, 7, $oCliente->getEmpresa(), 0, 0, 'L'); $this->Ln(); $this->SetFont('Arial', '', 12); $this->Cell(0, 7, $oCliente->getCifnif(), 0, 0, 'L'); $this->Ln(); $this->Cell(0, 7, $oCliente->getDireccion(), 0, 0, 'L'); $this->Ln(); $this->Cell(0, 7, $oCliente->getCodigoPostal() . ' - ' . $oCliente->getCiudad(), 0, 0, 'L'); $this->Ln(20); }