Public function ImpressaoReciboCP() { $Dados = new ModelLancaCpBd(); $Dados = $InformacoesImpressao = $Dados->DadosLancamento($this->getCodLancamento()); $StrDescricao = "<b>RECEBI DE </b>" . $this->getRazaoSocialClinica() . " </b><br><br>" . "<b>A IMPORTÂNCIA DE </b> " . parent::escreverValorMoeda($Dados->getValor()) . "</b><br><br> " . "<b>REFERENTE A </b>" . $Dados->getResumo() . "" . ""; $HtmlPrimeiraVia = ' <head> <meta charset="utf-8"> <title>COMPROVANTE DE PAGAMENTO</title> </head> <body> <table cellspacing="0" cellpadding="0" width="657" border=1 style="border-collapse: collapse; font-size:9pt"> <tr> <td align=center> <img src="' . $this->getLogoClinica() . '" width="200" height="80"> </td> <td colspan=2> <div align="center"> <span style="font-size:9pt;" align="center" > ' . $this->getCabecalho() . ' </span> </div> </td> <tr> <tr> <td align="center" bgcolor="#B7B6B6" colspan=3 style="font-size:9pt;">COMPROVANTE DE PAGAMENTO - 1º VIA - VALOR(R$) ' . $Dados->getValor() . '</td> <tr> </tr> <tr> <td colspan=3 align="left" style="font-size:9pt"> <br><br><br><br><br><br> ' . $StrDescricao . ' <br><br><br><br><br><br> </td> </tr> <tr style="height:27.25pt" > <td colspan=1 align=center> <strong><span style="font-size:08pt; ">CIDADE</span></strong> <p style="margin-bottom:0pt; line-height:normal;"> <span style="font-size:08pt">' . $this->getCidadeClinica() . ' / ' . $this->getUfClinica() . '-' . date('d/m/Y') . '</span> </p> </td> <td colspan=2 align=center> <p style="margin-bottom:0pt; line-height:normal;"> <strong><span style="font-size:08pt; "> ASSINATURA</span></strong> </p> <p style="margin-bottom:0pt; line-height:normal;"> <span style="font-size:08pt">----------------------------------------------------------------</span> </p> </td> </tr> </table> <div align=center style="font-size:09pt";> </div> </body>'; $HtmlSegundaVia = ' <head> <meta charset="utf-8"> <title>COMPROVANTE DE PAGAMENTO</title> </head> <body> <table cellspacing="0" cellpadding="0" width="657" border=1 style="border-collapse: collapse; font-size:10pt"> <tr> <td align=center> <img src="' . $this->getLogoClinica() . '" width="200" height="80"> </td> <td colspan=2> <div align="center"> <span style="font-size:10pt;" align="center" > ' . $this->getCabecalho() . ' </span> </div> </td> <tr> <tr> <td align="center" bgcolor="#B7B6B6" colspan=3 style="font-size:10pt;">COMPROVANTE DE PAGAMENTO - 2º VIA VALOR(R$)' . $Dados->getValor() . '</td> <tr> </tr> <tr> <td colspan=3 align="left" style="font-size:11pt"> <br><br><br><br><br><br> ' . $StrDescricao . ' <br><br><br><br><br><br> </td> </tr> <tr style="height:27.25pt" > <td colspan=1 align=center> <strong><span style="font-size:08pt; ">CIDADE</span></strong> <p style="margin-bottom:0pt; line-height:normal;"> <span style="font-size:08pt">' . $this->getCidadeClinica() . ' / ' . $this->getUfClinica() . '-' . date('d/m/Y') . '</span> </p> </td> <td colspan=2 align=center> <p style="margin-bottom:0pt; line-height:normal;"> <strong><span style="font-size:08pt; "> ASSINATURA</span></strong> </p> <p style="margin-bottom:0pt; line-height:normal;"> <span style="font-size:08pt">----------------------------------------------------------------</span> </p> </td> </tr> </table> <div align=center style="font-size:09pt";> </div> </body>'; return $HtmlPrimeiraVia . "<br>--------------------------------------------------------------------------------------------------------------------------<br>.$HtmlSegundaVia"; }