<?php include('../../fncr-geral/configuracao_geral.php');
@header("Content-Type: text/html; charset=ISO-8859-1",true);

$id_registro = $_GET['r'];

// Dados do Registro
$sql_registro = $bd->getConexao()->prepare('
SELECT * FROM financeiro_registros WHERE id = :id_registro');
$sql_registro->bindValue(':id_registro', $id_registro, PDO::PARAM_STR);
if( $sql_registro->execute() ) { $resul_registro = $sql_registro->fetch(PDO::FETCH_ASSOC);}

?>
  <div class="modal-content">
    <div class="modal-header bg-info">
      <button type="button" class="close" data-dismiss="modal"><i class="fa fa-times"></i></button>
      <h4 class="modal-title" id="myModalLabel">Observa&ccedil;&otilde;es</h4>
    </div>
    <div class="modal-body">
      <div class="row">
        <div class="col-lg-12">
          <textarea rows="4" class="form-control" name="obs_registro" data-trigger="keyup" disabled><?php echo $resul_registro['observacao'];?></textarea>
        </div>
      </div>
    </div>
    <div class="modal-footer">
      <button type="button" class="btn btn-sm btn-default" data-dismiss="modal">Fechar</button>
    </div>
  </div>

<?php $bd = null; $bd_fn = null;?>