KOKINIO - MANAGER
Edit File: fb8e7da35472e1f4403b15eddb4dd5c8d09e4aa8.php
<div class="col-md-12 col-xs-12"> <div class="box box-danger"> <div class="box-header"> <h3 class="box-title">Reporte - General</h3> <div class="box-tools pull-right"> <div class="btn-group"> <!-- <button type="button" onclick="Producto.add(this)" class="btn btn-primary">Agregar Producto <i class="fa fa-plus"></i></button> --> </div> </div> </div> <!-- /.box-header --> <div class="box-body table-responsive no-padding"> <table class="table table-hover"> <thead> <tr> <th>Folio</th> <th>Contacto</th> <th>Fecha</th> <th>Nombre</th> <th>Sabores</th> <th>Producto</th> <th>Comisión</th> <th>Tipo Pago</th> <th>Total</th> <th>Estatus</th> </tr> </thead> <tbody> <?php if(isset($ventaProducto)): ?> <?php $__currentLoopData = $ventaProducto; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($value->folio); ?></td> <td><?php echo e($value->contacto); ?></td> <td><?php echo e($value->fecha_venta); ?></td> <td><?php echo e(App\Helper::fullName($value->nombre, $value->ape_p, $value->ape_m)); ?></td> <?php if(count(App\Helper::getSabores($value) ) > 0): ?> <td> <?php $__currentLoopData = App\Helper::getSabores($value); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $sabor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <span><?php echo e($sabor['sabor']); ?>: <?php echo e($sabor['cantidad']); ?></span> <br/> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </td> <?php else: ?> <td></td> <?php endif; ?> <td><?php echo e($value->producto); ?></td> <td></td> <?php if(count(App\Helper::getTipoPago($value) ) > 0): ?> <td> <?php $__currentLoopData = App\Helper::getTipoPago($value); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $tipoPago): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <span><?php echo e($tipoPago['tipo_pago']); ?>: $<?php echo e(number_format($tipoPago['cantidad'])); ?></span> <br/> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </td> <?php else: ?> <td></td> <?php endif; ?> <td>$<?php echo e(number_format($value->total)); ?></td> <td><span class="label label-<?php echo e(App\Helper::getClass($value->estatus)); ?>"><?php echo e($value->estatus); ?></span></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </tbody> </table> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> </div>