
<!--Cabecalho -->
<?php $this->load->view('commons/cabecalho'); ?>
<?php $this->load->view('commons/header'); ?>
<?php $this->load->view('commons/menu'); ?>

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>Confirmação da Transferência</h1>
    </section>
    <!-- Main content -->
    <section class="content container-fluid">
        <div class="box">
            <div class="box-body">
                
                    <div class="row">
                        <div class="col-sm-12">
                            <h3>Conta Destino</h3>
                            <p>Nome: <?= $nome ?></p>
                            <p>ID de Negócio: <?= $id_negocio ?></p>
                            <p>Valor: R$ <?= number_format($valor, 2, ',', '.'); ?></p>
                            <form method="POST" action="<?= base_url('processarsaldo') ?>" id="form_transferencia">
                                <input type="hidden" name="id_cliente" value="<?= $id_cliente ?>">
                                <input type="hidden" name="nome_cliente" value="<?= $nome ?>">
                                <input type="hidden" name="transacao" value="<?= $_SESSION['transacao'] ?>">
                                <ul class="list-inline">
                                <button type="submit" class="btn btn-flat btn-botao"> <i class="fa fa-check-circle"></i> Finalizar</button>
                                <a href="<?= base_url('saldo');?>" class="btn btn-flat btn-danger">  <i class="fa fa-times" aria-hidden="true"></i> Cancelar</a>
                                </ul>
                            </form>
                        </div>
                    </div>
                
                    <br>
          <?php echo $this->session->flashdata('erro-certificado'); ?>

            </div>
        </div>

    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->
<script>
                $(document).ready(function () {
                    $('#form_transferencia').on('submit', function () {

                        $(".textos").html('<p>Aguarde...O sistema está finalizando o processo');
                        $("#aguardeS").css("display", "block");
                        $("#blanketS").css("display", "block");
                        
                    });
                });
            </script>
<?php $this->load->view('commons/rodape'); ?>
