
<?php $__env->startSection('content'); ?>
<?php Fun::lang()?>
<?php $total = 0 ?>
<?php $total_discount = 0 ?>
<?php $grand_total = 0 ?>

<div class="page-purchases">
    <div class="container">
        <div class="row">
            <div class="col-sm-12 col-xs-12">
                <div class="pull-left mr-bt">
                    <img src="<?php echo e(nsoLogo()); ?>" width="200">
                </div>
                <div class="pull-right">
                    <div class="title-add">
                        <h2>Report Sale</h2>
                        <table class="table table-striped table-hover ">
                            
                        </table>
                    </div>
                </div>
            </div>
        </div>
        
        <hr>
        <div class="summary-header">    
            <div class="row">
                <div class="col-sm-6">
                    <div class="pull-left">
                        
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="pull-right">
                        
                            
                    </div>
                </div>
            </div>
        </div>
        <div class="wrapper-table">
        <table class="table table-striped table-hover ">
            <thead>
                <tr>
                    <th>#</th>
                    <th><?php echo e(__('administrator.invoice')); ?></th>
                    <th><?php echo e(__('administrator.transaction_code')); ?></th>
                    <th><?php echo e(__('administrator.sale_date')); ?></th>
                    <th><?php echo e(__('administrator.customer_name')); ?></th>
                    <th><?php echo e(__('administrator.customer_phone')); ?></th>
                    <th><?php echo e(__('administrator.total')); ?></th>
                </tr>
            </thead>

            <tbody>
                <?php if(@$sales && @$sales): ?>
                    <?php $__currentLoopData = $sales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $sale): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($key+1); ?></td>
                            <td><?php echo e($sale->invoice_number); ?></td>
                            <td><?php echo e($sale->transaction_code); ?></td>
                            <td><?php echo e($sale->sale_date); ?></td>
                            <td><?php echo e($sale->customer_name); ?></td>
                            <td><?php echo e($sale->customer_phone); ?></td>
                            <td>$<?php echo e(number_format($sale->amount, 2)); ?></td>
                        </tr>   
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
            </tbody>

           <tfoot class="label-right customize-tfoot">
                <tr>
                </tr>                
            </tfoot>
        </table> 
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="col-sm-6">
                <div class="border-seller pull-left">
                    <p><b>SELLER</b></p>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="border-seller pull-right">
                    <p><b>WARE HOUSE</b></p>
                </div>
            </div>
        </div> 
    </div> 
    <div class="row">
        <div class="col-sm-12">
            <p class="text-center">សម្រាប់សំណួរទាក់ទងនឹងការបញ្ជាទិញនេះសូមទាក់ទងមកកាន់<br><b>(123) 000-000</b></p>
        </div>
    </div>
    </div>
</div>
   
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.print', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/administrator/payment-report/report-sale-marketing/print.blade.php ENDPATH**/ ?>