����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 74.208.127.88 / Your IP : 18.224.153.49 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"> <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" role="menu"> <li><a href="report/boxhistory-word.php">Word 2007 (.docx)</a></li> </ul> </div> <h1><i class='fa fa-archive'></i> Historial de Caja</h1> <div class="clearfix"></div> <?php $boxes = BoxData::getAll(); $products = SellData::getSellsUnBoxed(); if(count($boxes)>0){ $total_total = 0; ?> <br> <div class="box box-primary"> <div class="box-header"> <h3 class="box-title">Historial de Caja</h3></div> <div class="box-body"> <table class="table table-bordered table-hover table-responsive datatable "> <thead> <th></th> <th>Total</th> <th>Almacen</th> <th>Fecha</th> </thead> <?php foreach($boxes as $box): $sells = SellData::getByBoxId($box->id); ?> <tr> <td style="width:30px;"> <a href="./index.php?view=b&id=<?php echo $box->id; ?>" class="btn btn-default btn-xs"><i class="fa fa-arrow-right"></i></a> </td> <td align="right" style="width:100px;"> <?php $total=0; foreach($sells as $sell){ $operations = OperationData::getAllProductsBySellId($sell->id); $total += $sell->total; } $total_total += $total; echo "<b>$ ".number_format($total,2,".",",")."</b>"; ?> </td> <td><?php echo $box->getStock()->name; ?></td> <td><?php echo $box->created_at; ?></td> </tr> <?php endforeach; ?> </table> </div> </div> <div class="row"> <div class="col-md-16"> <div class="box box-primary"> <table class="table table-bordered"> <tr> <td>Gran total Ventas:</td> <td align="right"><u><b> <?php echo "$ ".number_format($total_total,2,".",","); ?></b></u></td> </tr> </table> </div> </div> </div> <?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>