

<?php $__env->startSection('content'); ?>
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header m-3">
      <h1><?php echo e(__('Suppliers')); ?> 
        <a class="btn btn-small btn-default pull-right ml-2" href="<?php echo e(route('suppliers.export')); ?>" ><i class="fa fa-download"></i>&nbsp; <?php echo e(__('export')); ?></a>
  <a class="btn btn-small btn-default pull-right ml-2" href="#supplierImportModal" data-toggle="modal"><i class="fa fa-upload"></i>&nbsp; <?php echo e(__('import')); ?></a>
        <a class="btn btn-small btn-success pull-right" href="#addSupplierModal" data-toggle='modal'><i class="fa fa-plus"></i>&nbsp; <?php echo e(__('Add')); ?></a></h1>
    </section>
    <!-- Main content -->
    <section class="content">
      <div class="row">
        <div class="col-xs-12">
            <!-- /.box-header -->
            <div class="box box-success">
              <div class="box-header">
                <?php echo $__env->make('partials.filters', ['filter_route'=>url('/suppliers'), 'filter_id'=>'supplierFilter'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
              </div>
              <div class="box-body">
                  <?php echo $__env->make('supplier.table', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
				      </div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
        <!-- /.col -->
      </div>
      <!-- /.row -->

      <div class="modal fade sub-modal" id="addSupplierModal">
        <div class="modal-dialog modal-lg">
            <?php echo $__env->make('supplier.form', ['supplier'=>''], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
      </div>
      <div class="modal fade sub-modal" id="editSupplierModal">
        <div class="modal-dialog modal-lg">
            <div class="modal-content" id="editSupplier"></div>
        </div>
      </div>
      <div class="modal fade sub-modal" id="showSupplierModal">
        <div class="modal-dialog modal-lg">
            <div class="modal-content" id="showSupplier"></div>
        </div>
      </div>

      <?php echo $__env->make('partials.import_modal', ['name'=>'Suppliers', 'modalId'=>'supplierImportModal', 'import_route'=>'suppliers.import'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    </section>
    <!-- /.content -->
  </div>

<?php $__env->stopSection(); ?>
            
<?php echo $__env->make('layouts.admin_dynamic', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/ajitdas/prjs-mega/flexiblepos-v2.0/resources/views/supplier/index.blade.php ENDPATH**/ ?>