����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 74.208.127.88 / Your IP : 3.141.33.133 Web Server : Apache/2.4.41 (Ubuntu) System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/var/www/html/app6/core/app/view/ |
Upload File : |
<section class="content"> <div class="row"> <div class="col-md-12"> <!-- Single button --> <div class="btn-group pull-right"> <a href="./index.php?view=boxhistory" class="btn btn-default"><i class="fa fa-clock-o"></i> Historial</a> <div class="btn-group"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-download"></i> Descargar <span class="caret"></span> </button> <ul class="dropdown-menu pull-right" role="menu"> <li><a href="report/box-word.php?id=<?php echo $_GET["id"];?>">Word 2007 (.docx)</a></li> </ul> </div> </div> <h1><i class='fa fa-archive'></i> Corte de Caja #<?php echo $_GET["id"]; ?></h1> <div class="clearfix"></div> <script> function contarFilas() { var $num = document.getElementById('tblUsuario').getElementsByTagName('tr').length - 1; alert("Numero de ventas: " + $num); } </script> <?php $fecha_actual=date("dd/mm/YYYY"); ?> <?php $operations = array(); $operations = PaymentData::getAllByDate($fecha_actual,$fecha_actual); ?> <?php $products = SellData::getByBoxId($_GET["id"]); if(count($products)>0){ $total_total = 0; ?> <br> <div class="box box-primary"> <table class="table table-bordered table-hover " id="tblUsuario"> <thead> <th></th> <th>monto Total de la venta</th> <th>Fecha</th> </thead> <?php foreach($products as $sell):?> <tr> <td style="width:30px;"> <a href="./index.php?view=onesell&id=<?php echo $sell->id; ?>" class="btn btn-default btn-xs"><i class="fa fa-arrow-right"></i></a> <?php $operations = OperationData::getAllProductsBySellId($sell->id); ?> </td> <td> <?php $total_total += $sell->total; echo "<b>$ ".number_format($sell->total-$sell->discount,2,".",",")."</b>"; ?> </td> <td id="fecha"><?php echo $sell->created_at; ?></td> </tr> <?php endforeach; ?> </table> <script> contarFilas(); </script> </div> <h1>Total: <?php echo "$ ".number_format($total_total,2,".",","); ?></h1> <?php }else { ?> <div class="jumbotron"> <h2>No hay ventas</h2> <p>No se ha realizado ninguna venta.</p> </div> <?php } ?> <br><br><br><br><br><br><br><br><br><br> </div> </div> </section></section>