
<?php $__env->startSection('content'); ?>
<!-- Content Wrapper. Contains page 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 Commision </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 Commision  </li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
     </section>
     <?php if(session('status')): ?>
     <div class="alert alert-success">
        <?php echo e(session('status')); ?>

     </div>
     <?php endif; ?>
     <section class="content">
      <div class="container-fluid">
        <div class="row">
          <!-- left column -->
          <div class="col-md-12">
            <!-- jquery validation -->
            <div class="card card-primary">
              <div class="card-header">
                <h3 class="card-title"> Add Commision Master </h3>
              </div>
              <!-- /.card-header -->
              <!-- form start -->
            
            <form id  = "quickForm" action  = "savecomMaster" method = "POST">

              <?php echo csrf_field(); ?>
              
              <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>" />
            
            <div class  = "row">

                        <div class="col-6">
                        <label for  = "exampleInputPassword1">Bank</label>
                        
                        <select  name="bank" class="form-control" id="LoanProduct" required>
                        
                              <option value =  ""  > Select Bank</option>
                        
                              <?php $__currentLoopData = $BankArray; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        
                              <option value =  "<?php echo e($value['id']); ?>"  > <?php echo e($value['bank_name']); ?> </option>
                        
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                        </select>    
                        
            </div>
                        <div class = "col-6">
                       
                       <label for = "exampleInputPassword1">Product</label>
                   
                       <select name = "prod" class = "form-control" id = "LoanProduct" required>
                        
                        <option value = ""> Select Product</option>
                  
                            <?php $__currentLoopData = $BankArray; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  
                            <option value =  "<?php echo e($value['id']); ?>" > <?php echo e($value['bank_name']); ?> </option>
                  
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  

                       </select>   
                   
                </div> 

                   <div class = "col-6">
                       
                       <label for = "exampleInputPassword1">Pay-In</label>
                   
                       <input type = "text" name = "inCom" class="form-control"
                       id = "eml" placeholder = "Pay-In" required>    

                   </div> 
                   
                   <div class = "col-6">
                       
                       <label for = "exampleInputPassword1">Pay-Out</label>
                   
                       <input type = "text" name = "OutCom" class="form-control"
                       id = "eml" placeholder = "Pay-Out" required>    

                   </div>


                   <div class = "col-6">
                       
                       <label for = "exampleInputPassword1"> Month</label>
                   
                       <select name = "OutCom" class="form-control" required>   
                        <option value = "">Select Month</option>
                    
                       <?php 
                        $month= array("01"=>"January","02"=>"February","03"=>"March","04"=>"April","05"=>"May","06"=>"June","07"=>"July","08"=>"Aujust","09"=>"September","10"=>"October","11"=>"November","12"=>"December")
                       ?> 

                        <?php $__currentLoopData = $month; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        
                        
                        <option value = "<?php echo e($key); ?>"><?php echo e($value); ?></option>
                          
                       <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                      </select>

                   </div>


                   <div class = "col-6">
                       
                    <label for = "exampleInputPassword1">Year</label>
                   
                      <select name = "OutCom" class="form-control" required>   
                      
                      <option value = "">Select Year</option>
                    
                     
                        
                      <option value = "<?php echo e(date('Y')); ?>" <?php echo e((date('Y')==date('Y') ) ? 'selected':''); ?>  ><?php echo e(date('Y')); ?></option>
                      <option value = "<?php echo e(date('Y')-1); ?>"><?php echo e(date('Y')-1); ?></option>
                   

                      </select>   

                   </div>

                      <div class = "col-6" >
                      <label for = "exampleInputPassword1"> </label>
                    <br>
                            <input type  = "submit" name = "submit" class = "btn btn-primary"
                            id = "eml" required>      
                      </div>


                      
                  </div>
               
              </form>
            
            </div>

            <!-- /.card -->
            
          </div>
          
          <!--/.col (left) -->
          <!-- right column -->
          
          <div class="col-md-6">

          </div>
          
          <!--/.col (right) -->
        
        </div>
       
        <!-- /.row -->
     
      </div><!-- /.container-fluid -->
    
    </section>
    
    <!-- /.content -->
  
  
  </div>
  
  <!-- /.content-wrapper -->
  
  <?php $__env->stopSection(); ?>



<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\newpro\htdocs\laravel_ecommerce\resources\views/layouts/commMaster.blade.php ENDPATH**/ ?>