

<?php $__env->startSection('content'); ?>

<!-- Content wrapper scroll start -->
<div class="content-wrapper-scroll">

<!-- Content wrapper start -->
<div class="content-wrapper">
<div class="col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12">
        <figure class="user-card">
            <figcaption>
                <h5>PRODUCT SUMMARY - <?php echo e(request()->branch); ?></h5>
                <ul class="list-group">
                    <li class="list-group-item"><span>Date: </span><?php echo e(request('date')); ?></li>
                    <li class="list-group-item"><span>Total Quantity: </span><?php echo e($itemsQuantity); ?></li>
                    <li class="list-group-item"><span>Total Cash: </span><?php echo e(empty($app->currency) ? "GHS" : $app->currency); ?><?php echo number_format($itemsPrice, 2); ?></li>
                </ul>
            </figcaption>
        </figure>
    </div>
    <!-- Row start -->
    <div class="row gutters">
        <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
            
            <div class="card">
                <div class="card-body">
                    <div class="table-responsive">
                    <table id="copy-print-csv" class="table v-middle">
                            <thead>
                                <tr>
                                  <th>Products</th>
                                  <th>Quantity </th>
                                  <th>Unit Price</th>
                                  <th>Totals</th>													  
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                  <td>
                                      <div class="media-box">
                                          <div class="media-box-body">
                                              <a href="#" class="text-truncate"><?php echo e($item->name); ?></a>
                                          </div>
                                      </div>
                                  </td>
                                  <td>
                                  <?php echo e($item->quantity); ?>

                                  </td>
                                  <td><?php echo e(empty($app->currency) ? "GHS" : $app->currency); ?><?php echo number_format($item->price, 2); ?></td>
                                  <td>
                                  <?php echo e(empty($app->currency) ? "GHS" : $app->currency); ?><?php echo number_format($item->total, 2); ?>
                                  </td>													  
                                </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                               
                            </tbody>
                    </table>
                    </div>

                </div>
            </div>

        </div>
    </div>
    <!-- Row end -->

</div>
<!-- Content wrapper end -->


<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/morttsons/public_html/morttsonsposfiles/resources/views/item-summary-all.blade.php ENDPATH**/ ?>