protected function generar_datos_cliente($coddivisa)
{
$this->pdf->SetY(38 + intval($this->pdf_setup['ppdf_margin_top']));
$html = '<p style="text-align: right;">' . $this->documento->nombrecliente . '<br/>';
// Añado el email y el telefono del cliente
if ($this->documento->telefono1) {
$html .= $this->documento->telefono1 . '<br/>';
}
if ($this->documento->email) {
$html .= $this->documento->email . '<br/>';
}
//hasta aqui
if ($this->documento->direccion) {
$html .= $this->documento->direccion . '<br/>';
}
if ($this->documento->codpostal) {
$html .= 'CP: ' . $this->documento->codpostal . ' - ';
}
$html .= $this->documento-