
<?php $__env->startSection('content'); ?>
<div class="content-wrapper" id="app">
    <!-- Content Header (Page header) -->
    <section class="content-header m-3">
      <h1><?php echo e(__('Sales/Invoices')); ?>

        <?php if(auth()->user()->checkSpPermission('sales.create')): ?>
        <a class="btn btn-small btn-success pull-right" href="<?php echo e(URL::to('sales/create')); ?>"><i class="fa fa-plus"></i>&nbsp; <?php echo e(__('Add Sale')); ?></a>
        <?php endif; ?></h1>
    </section>
    <!-- Main content -->
    <section class="content">
    <div class="row">
        <div class="col-md-12">
            <div class="box box-success">
                <div class="box-body">
                    <div class="box-header">
                    <?php echo $__env->make('partials.filters', ['filter_route'=>url('/sales'), 'filter_id'=>'saleFilter'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                    <div id="list-sale-report">
                        <?php echo $__env->make('customer.partials.sale_table', ['salereport'=>$sales, 'type'=>'all'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </section>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.sale', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/ajitdas/prjs-mega/flexiblepos-v2.0/resources/views/sale/list.blade.php ENDPATH**/ ?>