<td class="scape-text-left-7 ct celula-top" valign="top" width="141" height="13">Valor Documento</td> </tr> <tr> <td class="scape-text-left-11 cp celula-right celula-bottom" valign="top" width="172" height="12"> <?php echo $model->sacado_nome; ?> </td> <td class="cp celula-right celula-bottom" valign="top" align="center" width="169" height="12"> <?php echo $model->numero_documento; ?> </td> <td class="cp celula-right celula-bottom" valign="top" align="center" width="173" height="12"> <?php echo CodigoDeBarras::formataNumero($model->nosso_numero, 12, 0) . Math::modulo11($model->nosso_numero); ?> </td> <td class="scape-text-right cp celula-bottom" valign="top" align="right" width="141" height="12"> <?php echo $model->valor_boleto; ?> </td> </tr> </tbody> </table> <!-- Tabela Quinta linha exibindo: Instruções--> <table cellspacing="0" width="666" cellpadding="0" border="0"> <tbody> <tr> <td class="ct" width="7" height="12"></td>
<?php $barCode = new CodigoDeBarras(); $codigo_de_barra = $barCode->gerarCodigo(Constants::CODIGO_BANCO_SANTANDER, BoletoSantander::NUM_MOEDA, DateTime::createFromFormat('Y-m-d', $model->data_vencimento)->format('d/m/Y'), $model->valor_boleto * 100, BoletoSantander::FIXO, $model->boletoCedente->identificacao_beneficiario, $model->nosso_numero, BoletoSantander::IOF, $model->codigo_da_carteira); $linha_digitavel = $barCode->gerarLinhaDigitavel($codigo_de_barra); ?> <table cellspacing=0 width="666" cellpadding=0 border=0> <tr> <td class="image-santander cp celula-bottom celula-right" align="center" height="37" width=160> </td> <td class="cp celula-bottom celula-right celula-left" width=63 align=center> <font class=bc><?php echo Constants::CODIGO_BANCO_SANTANDER . "-" . Math::modulo11(Constants::CODIGO_BANCO_SANTANDER); ?> </font> </td> <td class="ld celula-bottom celula-left scape-text-left-7" align=left width=453> <span class=ld> <?php echo $linha_digitavel; ?> </span> </td> </tr> </table> <!-- Tabela Segunda linha Ficha de compensassão exibindo: Local de pagamento; Vencimento--> <table cellspacing=0 width="666" cellpadding=0 border=0> <tbody> <tr> <td class="scape-text-left-7 ct celula-top celula-right" valign=top width=471 height=13>Local de Pagamento</td>