<div id="container" style="width:95%; margin-left:2vw">
    <div class="card border-info mb-3 text-center">
        <div class="card-header">
            <h4 class="card-title text-dark">RECIBO - VIA CLIENTE</h4>
        </div>
        <div class="card-body">

            <div id=\"recibo\">
                <table>
                    <tr>
                        <td align='center' valign='middle' width='15%'><div id='ooh8'>
                                <div id='olc.'><img src="<?php echo base_url(); ?>assets/sistema/imagens/logo.png"></div>
                            </div>
                        </td>
                        <td width='50%'>
                            <span class="fa-2x">Madeireira Aroeira</span><br>
                            Esmar Caetano do Carmo e Cia Ltda.<br>
                            Avenida Alfredo Nasser –  CEP 72.814-510<br>
                            Bairro Mandú II – Luziania/ GO<br>
                            Fone: (61) 3622-4888 <br>
                            Site: www.madeireiraaroeira.com.br<br>
                        </td>
                    </tr>

                </table>
                <blockquote style="height: 2.5em">
                    <h4>Dados do Pedido</h4>
                </blockquote>

                <table>
                    <tr>
                        <td>
                            <strong>N. PEDIDO:</strong>
                        </td>
                        <td>
                            <?php
                            echo $nota->NU_PEDIDO

                            ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>Cliente:</strong>
                        </td>
                        <td>
                            <?php echo $nota->CLIENTE_ID ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>Produto:</strong>
                        </td>
                        <td>
                            <?php echo $nota->NM_PRODUTO ?>
                        </td>

                    </tr>
                    <tr>
                        <td>
                            <strong>Valor:</strong>
                        </td>
                        <td>
                            <?php echo 'R$ '. number_format($nota->VL_PEDIDO, 2, ',', '.')  ?>
                        </td>

                    </tr>
                    <tr>
                        <td>
                            <strong>Data:</strong>
                        </td>
                        <td>
                            <?php echo date('d/m/Y', strtotime($nota->DT_NOTA)) ?>
                        </td>

                    </tr>


                </table>

            </div>

        </div>


    </div>
</div>

<div id="container" style="width:95%; margin-left:2vw">
    <div class="card border-info mb-3 text-center">
        <div class="card-header">
            <h4 class="card-title text-dark">RECIBO - VIA LOJA</h4>
        </div>
        <div class="card-body">

            <div id=\"recibo\">
                <table>
                    <tr>
                        <td align='center' valign='middle' width='15%'><div id='ooh8'>
                                <div id='olc.'><img src="<?php echo base_url(); ?>assets/sistema/imagens/logo.png"></div>
                            </div>
                        </td>
                        <td width='50%'>
                            <strong>Madeireira Aroeira</strong><br>
                            Esmar Caetano do Carmo e Cia Ltda.<br>
                            Avenida Alfredo Nasser –  CEP 72.814-510<br>
                            Bairro Mandú II – Luziania/ GO<br>
                            Fone: (61) 3622-4888 <br>
                            Site: www.madeireiraaroeira.com.br<br>
                        </td>
                    </tr>

                </table>
                <blockquote style="height: 2.5em">
                    Dados do Pedido
                    <!--                    <p>-->
                    <!--                        <br />-->
                    <!--                        <br />-->
                    <!--                    </p>-->
                </blockquote>

                <table>
                    <tr>
                        <td>
                            <strong>N. PEDIDO:</strong>
                        </td>
                        <td>
                            <?php
                            echo $nota->NU_PEDIDO

                            ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>Cliente:</strong>
                        </td>
                        <td>
                            <?php echo $nota->CLIENTE_ID ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>Produto:</strong>
                        </td>
                        <td>
                            <?php echo $nota->NM_PRODUTO ?>
                        </td>

                    </tr>
                    <tr>
                        <td>
                            <strong>Valor:</strong>
                        </td>
                        <td>
                            <?php echo  'R$ '. number_format($nota->VL_PEDIDO, 2, ',', '.')  ?>
                        </td>

                    </tr>
                    <tr>
                        <td>
                            <strong>Data:</strong>
                        </td>
                        <td>
                            <?php echo date('d/m/Y', strtotime($nota->DT_NOTA)) ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>Situacao:</strong>
                        </td>
                        <td>
                            <?php
                            echo $nota->DT_QUITADO?"Quitado em: ":"Em Aberto";
                            echo $nota->DT_QUITADO?date('d/m/Y', strtotime($nota->DT_QUITADO)):"";
                            ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>Vendedor:</strong>
                        </td>
                        <td>
                            <?php
                            echo $nota->NM_VENDEDOR

                            ?>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <strong>Previsao PGTO:</strong>
                        </td>
                        <td>
                            <?php
                            echo is_null($nota->DT_PREVISAO_PAGAMENTO)?"":date('d/m/Y', strtotime($nota->DT_PREVISAO_PAGAMENTO))

                            ?>
                        </td>
                    </tr>



                </table>

            </div>

        </div>


    </div>
</div>

<style>
    #Atendimento
    {
        position:absolute;
        width:600px;
        height:400px;
        top:50%;
        left:50%;
        margin-left:-300px;
        margin-top:-200px;
        background-color:#036;
    }
</style>