

<?php $__env->startSection('content'); ?>
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header m-3">
      <h1><?php echo e(__('Expenses')); ?><a class="btn btn-small btn-success pull-right" href="#addExpenseModal" data-toggle="modal"><i class="fa fa-plus"></i>&nbsp; <?php echo e(__('Create Expense')); ?></a></h1>
    </section>
    <!-- Main content -->
    <section class="content">
      <div class="row">
        <div class="col-xs-12">
      
            <div class="box box-success">
              <div class="box-header">
                <?php echo $__env->make('partials.filters', ['filter_route'=>url('/expense'), 'filter_id'=>'expenseFilter'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
              </div>
            <div class="box-body">
              <?php echo $__env->make('expense.partials.expense_table', ['expenses'=>$expenses], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
        <!-- /.col -->
      </div>
      <!-- /.row -->
      <div>
        <div class="modal fade sub-modal" id="addExpenseModal">
          <div class="modal-dialog modal-lg">
              <?php echo $__env->make('expense.form', ['expense'=>'','page'=>'expense'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
          </div>
        </div>
        <div class="modal fade sub-modal" id="editExpenseModal">
          <div class="modal-dialog modal-lg">
              <div class="modal-content" id="editExpense"></div>
          </div>
        </div>
      </div>
    
    <div class="modal fade" id="expenseCategoryAdd">
      <div class="modal-dialog">
        <?php echo $__env->make('expense.category_form', ['page'=>'expense'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
      </div>
    </div>

    </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/expense/index.blade.php ENDPATH**/ ?>