
<?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>Edit Banks</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">Edit Banks</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">Edit Banks </h3>
              </div>

              <!-- /.card-header -->
              <!-- form start -->
  
            <?php

            $editBankData=  json_decode( json_encode($bankData),true);

            ?>

              <form id  = "quickForm" action  = "<?php echo e(route('updateBank')); ?>" method  = "POST">
            
              <?php echo csrf_field(); ?>

              <input type = "hidden" name = "id"      value = "<?php echo e($editBankData[0]['id']); ?>" />
              <input type = "hidden" name =  "_token" value = "<?php echo e(csrf_token()); ?>" />
            
                  <div class  = "row">
                  
                      <div class  = "col-6">
                      <label for  = "exampleInputEmail1">BANK Name</label>
                     <input type  = "text" name =  "bank_name" value  = "<?php echo e($editBankData[0]['bank_name']); ?>" class  = "form-control" placeholder = "Bnak Name"  >
                      </div>

    <div class  = "col-6">
      
    <label for="exampleInputEmail1">Financier Type</label>

    <select name="FinancierType" value="" class="form-control" >
        
        <option value="">Select</option>                    
        <option value="BANK" <?php echo e(($editBankData[0]['FinancierType']=='BANK' ) ? 'selected':''); ?>>BANK</option>                    
        <option value="NBFC"  <?php echo e(($editBankData[0]['FinancierType']=='NBFC' ) ? 'selected':''); ?>>NBFC</option>                    

    </select>

  </div>

    <div class="col-6">
    <label for="exampleInputEmail1">Status</label>
    <select name="status" value="" class="form-control" >
          <option>Select</option>                    


          <option value="Active" selected  >Active</option>                    

          <option value="inActive">In-Active</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/editBank.blade.php ENDPATH**/ ?>