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/  Your IP : 216.73.217.165   [ Reverse IP ]
Web Server : Apache
System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29+esm15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Domains : 3 Domains
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/merenda/itapipoca21/modulos/produto/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/merenda/itapipoca21/modulos/produto/produto_movimento.php
<?php
    ini_set('display_errors', 'off');
    if (isset($_POST['txt_pesq'])) {
        $ntb = $_POST['txt_pesq'];
    }
    
    $cod_produto = $_GET['cod_produto'];
    $des_produto = $_GET['des_produto'];
    $entradas    = mysql_query("SELECT * from v_produtos_entradas WHERE id_produto=$cod_produto");
    $invetario   = mysql_query("SELECT * from v_produtos_inventario WHERE id_produto=$cod_produto");
    $saidas_a    = mysql_query("SELECT * from v_produtos_saidas_ra WHERE id_produto=$cod_produto");
    $saidas_c    = mysql_query("SELECT * from v_produtos_saidas_rc WHERE id_produto=$cod_produto");
?>
<body>
<head>
    <title> | Produtos</title>
    <script type="text/javascript">
        function excluir_registro(e) {
            if (!confirm('Deseja realmente excluir este registro?')) {
                if (window.event)
                    window.event.returnValue = false; else
                    e.preventDefault();
            }
        }
    </script>
    <script>
        $(document).ready(function () {
            $('table.tabe12').DataTable({
                //"pagingType": "full_numbers",
//                "lengthMenu": [[5, 10, 25, 50, -1], [5, 10, 25, 50, "Todos"]],
                stateSave: true,
                autoFill: true,
                "bPaginate": false,
                scrollY: '45vh',
                "oLanguage": {
                    "sProcessing": "Processando. Aguarde...",
                    "sLengthMenu": "Mostrar  _MENU_",
                    "sZeroRecords": "NENHUM REGISTRO ENCONTRADO!",
                    "sInfo": "_TOTAL_ registros",
                    "sInfoEmpty": "0 registros",
                    "pagingType": "scrolling",
                    "sInfoFiltered": "(de _MAX_)",
                    "sInfoPostFix": "",

                    "sSearch": "<em class='fa fa-search' title='pesquisar'></em>",
//                    "sUrl": "",
                    "oPaginate": {
                        "sFirst": "<i class='fa fa-angle-double-left' title='primeiro registro' style='font-size: 8px; margin-right: 0;!important;'></i>",
                        "sPrevious": "<i class='fa fa-arrow-left' title='registro anterior' style='font-size: 8px;'></i>",
                        "sNext": "<i class='fa fa-arrow-right' title='próximo registro' style='font-size: 8px;'></i>",
                        "sLast": "<i class='fa fa-angle-double-right' title='último registro' style='font-size: 8px;'></i>"
                    }
                }
            });
        });
    </script>
</head>
<body style="padding-top: 40px;"/>
<div id='texto' class='container-fluid'>
    <p style='font-size: 20px;'>Produto | Movimento
    </p>
    <div class="container-fluid panel-body">
        <div class='panel panel-body panel-primary filterable'>
            <div class="col-md-12">
                <p><strong class="text-green-card" title="Produto | ID"><?php echo $des_produto . '-' . $cod_produto ?></strong></p>
            </div>
            <!--ENTRADAS-->
            <div class="col-md-12">
                <div class="col-md-6">
                    <p style='font-size: 18px;' class="text-orange">Entradas N.F.
                    <table class='tabe12 table table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0'>
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>Data</th>
                            <th>NF</th>
                            <th>Ordem</th>
                            <th class="text-right">Quant.</th>
                            <th class="text-right">Valor</th>
<!--                            <th>Tipos</th>-->
                            <th>Programa</th>
                            <th></th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php
                            $s_nf = 0;
                            while ($l_entrada = mysql_fetch_array($entradas)) {
                                echo "<tr>";
                                echo "<td>" . $l_entrada['id'] . "</td>";
                                echo "<td>" . $l_entrada['data'] . "</td>";
                                echo "<td><b>" . $l_entrada['nota_fiscal'] . "</b></td>";
                                echo "<td>" . $l_entrada['ordem_compra'] . "</td>";
                                echo "<td class='text-right'><b>" . number_format($l_entrada['quantidade'], 2, ',', '.') . "</b></td>";
                                echo "<td class='text-right'>" . number_format($l_entrada['valor'], 2, ',', '.') . "</td>";
                                $tipoe = $l_entrada['tipo'];
//                                if ($tipoe==1) {
//                                    echo "<td><b>Cardápio</b></td>";
//                                } else {
//                                    echo "<td><b>Avulsa</b></td>";
//                                }
                                echo "<td>" . $l_entrada['programa'] . "</td>";
                                $cod_produto = $l_entrada['id_produto'];
                                $des_produto = utf8_encode($l_entrada['produto']);
                                $id_nota     = $l_entrada['id'];
                                
//                                if ($tipoe==1) {
                                    echo "<td><a class='janela100' href='index2.php?page=almoxarifado/entrada_edt&cod_id=$id_nota'> <em class='fa fa-eye text-green' title='ver registro'></a></td>";
//                                } else {
//                                    echo "<td><a class='janela100' href='index2.php?page=almoxarifado/entrada_a_edt&cod_id=$id_nota'> <em class='fa fa-eye text-green' title='ver registro'></em></a></td>";
//                                }
                                
                                echo "</tr>";
                                
                                $s_nf += $l_entrada['quantidade'];
                            }
                        ?>
                        </tbody>
                        <tfoot>
                        <tr style="background-color: #b2c1c1;">
                            <th></th>
                            <th></th>
                            <th>Total:</th>
                            <th></th>
                            <th class="text-right"><?php echo number_format($s_nf, 2, ',', '.') ?></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                        </tr>
                        </tfoot>
                    </table>
                </div>
                <div class=" col-md-6">
                    <p style='font-size: 18px;' class="text-orange">Inventários
                    <table class='tabe1 table table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0'>
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>Data</th>
                            <th class="text-right">Quant.</th>
                            <th class="text-right">Valor</th>
                            <th>Programa</th>
                            <th></th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php
                            $s_iv = 0;
                            while ($l_inventario = mysql_fetch_array($invetario)) {
                                echo "<tr>";
                                echo "<td>" . $l_inventario['id'] . "</td>";
                                echo "<td>" . $l_inventario['data'] . "</td>";
                                echo "<td class='text-right'><b>" . number_format($l_inventario['quantidade'], 2, ',', '.') . "</b></td>";
                                echo "<td class='text-right'>" . number_format($l_inventario['valor'], 2, ',', '.') . "</td>";
                                echo "<td>" . $l_inventario['programa'] . "</td>";
                                $cod_produto = $l_inventario['id_produto'];
                                $des_produto = utf8_encode($l_inventario['produto']);
                                $id_nota     = $l_inventario['id'];
                                echo "<td><a class='janela100' href='index2.php?page=almoxarifado/implanta_edt&cod_id=$id_nota' target='_blank'> <em class='fa fa-eye text-green' title='ver registro'></a></td>";
                                echo "</tr>";
                                $s_iv += $l_inventario['quantidade'];
                            }
                        ?>
                        </tbody>
                        <tfoot>
                        <tr style="background-color: #b2c1c1;">
                            <th></th>
                            <th>Total:</th>
                            <th class="text-right"><?php echo number_format($s_iv, 2, ',', '.') ?></th>
                            <th></th>
                            <th></th>
                            <th></th>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>

            <!--REMESSAS-->
            <div class=" col-md-12">
                <div class="col-md-6">
                    <p style='font-size: 18px;' class="text-orange">Remessas Cardápio
                    <table class='tabe1 table table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0'>
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>Data</th>
                            <th>Remessa</th>
                            <th class="text-right">Quant.</th>
                            <th>Programa</th>
                            <th width="2%"></th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php
                            $s_rc = 0;
                            while ($l_saida_c = mysql_fetch_array($saidas_c)) {
                                echo "<tr>";
                                echo "<td>" . $l_saida_c['id_rem_itens'] . "</td>";
                                echo "<td>" . $l_saida_c['data'] . "</td>";
                                echo "<td><b>" . $l_saida_c['remessa'] . "</b></td>";
                                echo "<td class='text-right'><b>" . number_format($l_saida_c['quantidade'], 2, ',', '.') . "</b></td>";
                                echo "<td>" . $l_saida_c['programa'] . "</td>";
                                $cod_produto = $l_saida_c['id_produto'];
                                $des_produto = utf8_encode($l_saida_c['produto']);
                                $cod_id      = $l_saida_c['remessa'];
                                echo "<td><a class='janela100' href='index2.php?page=remessa/remessa_edt&cod_id=$cod_id' target='_blank'> <em class='fa fa-eye text-green' title='ver registro'></a></td>";
                                echo "</tr>";
                                $s_rc += $l_saida_c['quantidade'];
                            }
                        ?>
                        </tbody>
                        <tfoot>
                        <tr style="background-color: #b2c1c1;">
                            <th></th>
                            <th></th>
                            <th>Total:</th>
                            <th class="text-right"><?php echo number_format($s_rc, 2, ',', '.') ?></th>
                            <th></th>
                            <th></th>
                        </tr>
                        </tfoot>
                    </table>
                </div>
                <!--REMESSA AVULSA-->
                <div class="col-md-6">
                    <p style='font-size: 18px;' class="text-orange">Remessas Avulsas
                    <table class='tabe1 table table-striped table-hover dt-responsive' cellspacing='0' width='100%' border='0'>
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>Data</th>
                            <th width="2%">Remessa</th>
                            <th width="2%" class="text-right">Quant.</th>
                            <th>Programa</th>
                            <th>Escola</th>
                            <th width="2%"></th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php
                            $s_ra = 0;
                            while ($l_saida_a = mysql_fetch_array($saidas_a)) {
                                echo "<tr>";
                                echo "<td>" . $l_saida_a['id_rem_itens'] . "</td>";
                                echo "<td>" . $l_saida_a['data'] . "</td>";
                                echo "<td><b>" . $l_saida_a['remessa'] . "</b></td>";
                                echo "<td class='text-right'><b>" . number_format($l_saida_a['quantidade'], 2, ',', '.') . "</b></td>";
                                echo "<td>" . $l_saida_a['programa'] . "</td>";
                                echo "<td>" . $l_saida_a['esc_nome'] . "</td>";
                                $cod_produto = $l_saida_a['id_produto'];
                                $des_produto = utf8_encode($l_saida_a['produto']);
                                $cod_id      = $l_saida_a['remessa'];
                                echo "<td><a href='?page=remessa/remessaavulsa_edt&cod_id=$cod_id' target='_blank'> <em class='fa fa-eye text-green' title='ver registro'></a></td>";
                                echo "</tr>";
                                $s_ra += $l_saida_a['quantidade'];
                            }
                        ?>
                        </tbody>
                        <tfoot>
                        <tr style="background-color: #b2c1c1;">
                            <th></th>
                            <th></th>
                            <th>Total:</th>
                            <th class="text-right"><?php echo number_format($s_ra, 2, ',', '.') ?></th>
                            <th></th>
                            <th></th>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>

Anon7 - 2022
AnonSec Team