

<?php $__env->startSection('title','Expense Category'); ?>
<?php $__env->startSection('content'); ?>

       <div class="content-wrapper">
      <!-- Content Header (Page header) -->
      <section class="content-header">
        <div class="container-fluid">
          <div class="row mb-2">
            <div class="col-sm-6">
              <h1>Add Expense Category</h1>
            </div>
            <div class="col-sm-6">
              <ol class="breadcrumb float-sm-right">
                <li class="breadcrumb-item"><a href="#">Home</a></li>
                <li class="breadcrumb-item active">Add Expense Category</li>
              </ol>
            </div>
          </div>
        </div><!-- /.container-fluid -->
      </section>

      <!-- Main content -->
      <section class="content">
        <div class="container-fluid">
          <div class="card card-primary">
            <form action="<?php echo e(route('expense_category.store')); ?>" method="post" enctype="multipart/form-data">
              <?php echo csrf_field(); ?>
              <div class="card-body row">
         
              <div class="col-md-4">
                  <div class="form-group">
                    <label for="exampleInputEmail1">Catgory Name</label>
                    <input type="text" class="form-control" name="name" id="name" value="<?php echo e(old('name')); ?>" placeholder="Enter Category Name" value="<?php echo e(old('name')); ?>" autocomplete="off">
                     <?php if($errors->has('name')): ?>
                      <span class="text-danger"><?php echo e($errors->first('name')); ?></span>
                      <?php endif; ?>
                  </div>

                </div>
              </div>
              <div class="card-footer pt-0 mb-5">
                <button class="btn btn-primary" type="submit">Submit</button>
                <a href="<?php echo e(route('admin.index')); ?>" class="btn btn-danger" >Back</a>
              </div>
            </form>
          </div>

               <div class="card">

            <!-- /.card-header -->
            <div class="card-body ">
              <!-- END -->
              <div class="table-responsive">
              <table id="expense-category-table" class="table table-bordered table-striped  w-100">
                <thead>
                  <tr>
                    <th >Sl.no</th>
                    <th>Expense Category</th>
                    <th>Created by</th>
                    <th>Actions</th>
                  </tr>
                </thead>
                <tbody>
               </tbody>
              </table>
              </div>
            </div>
            <!-- /.card-body -->
          </div>
        </div>
        <!-- /.container-fluid -->

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



    </div>
      <!-- /.content -->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script src="<?php echo e(asset('js/expense.js')); ?>"></script>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/mc25vp7ttt60/public_html/srkdiesel-trading.in/resources/views/expense-category.blade.php ENDPATH**/ ?>