

<?php $__env->startSection('title','income Form'); ?>
<?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 Income</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 Income</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('income.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>Date</label>
                           <input type="date" class="form-control" name="date" id="date"  value="<?php echo date('Y-m-d'); ?>" autocomplete="off">
                            <?php if($errors->has('date')): ?>
                            <span class="text-danger"><?php echo e($errors->first('date')); ?></span>
                            <?php endif; ?>
                          </div>

                </div>
   
       
              
            
       
                
                <div class="col-md-4">
                  <div class="form-group">
                    <label for="exampleInputEmail1">Description</label>
                <textarea class="form-control" id="description" cols="4" rows="4" name="description"  value="<?php echo e(old('description')); ?>"></textarea>

                  </div>
                </div>
    <div class="col-md-4">
                  <div class="form-group">
                    <label for="exampleInputEmail1">Amount</label>
                    <input type="number" class="form-control" id="amount" name="amount" step="any"  value="<?php echo e(old('amount')); ?>">
                  </div>
                </div>

   <div class="col-md-4">
                   <div class="form-group">
                            <label>Payment Mode</label>
                           <select class="form-control select2bs4" style="width: 100%;" name="payment_mode" required="">
                             <option value="">Select </option>
                              <option value="cash">Cash</option>
                              <option value="cheque">Cheque</option>
                             
                            </select>
                           
                          </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>
        <!-- /.container-fluid -->
      </section>
      <!-- /.content -->


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


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