
<?php $__env->startSection('main-container'); ?>

<main id="main" class="main">
<?php echo $__env->make('cdn', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    
      <form action="" method="post" enctype="multipart/form-data">
         <?php echo e(csrf_field()); ?>

         <?php echo method_field('PUT'); ?> 
       <section class="vh-100 bg-image"
         style="background-image: url('https://mdbcdn.b-cdn.net/img/Photos/new-templates/search-box/img4.webp');">
  
 
  <div class="mask d-flex align-items-center h-100 gradient-custom-3" >

    <div class="container h-100">
      <div class="row d-flex justify-content-center align-items-center h-100">
         
      <div class="card">
            
          <div class="row" style="border-radius: 15px;">
            <div style="margin-top:15px ;">
           <h3 class="text-uppercase text-center mb-3" style="font-family:cursive;">Company info</h3>
        </div>
        <?php if($message = Session::get('success')): ?>
            <div class="alert alert-success">
                <p><?php echo e($message); ?></p>
            </div>
        <?php endif; ?>
            <div class="col-6 col-md-6 col-lg-6 col-xl-6 card-body p-8">
                 
                <div class="form-outline mb-3">
                     <strong>Company Name:</strong>
                <input type="text" id="form3Example1cg" value="<?php echo e($companyinfo->c_name); ?>" name="c_name" class="form-control form-control-lg" required />
                   <?php $__errorArgs = ['c_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                        <div class="alert alert-danger mt-1 mb-1"><?php echo e($message); ?></div>
                   <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>
                 <div class="form-outline mb-3">
                    <strong>Phone:</strong>
                <input type="text" id="form3Example4cg" maxlength="10" value="<?php echo e($companyinfo->c_phone); ?>" name="c_phone" class="form-control form-control-lg" required />
                    <?php $__errorArgs = ['c_phone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                        <div class="alert alert-danger mt-1 mb-1"><?php echo e($message); ?></div>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>

                <div class="form-outline mb-3">
                    <strong>Email:</strong>
                <input type="email" id="form3Example3cg" value="<?php echo e($companyinfo->email); ?>" name="email" class="form-control form-control-lg" required />
                   <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                        <div class="alert alert-danger mt-1 mb-1"><?php echo e($message); ?></div>
                   <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>
                <div class="form-outline mb-3 ">
                    <strong>Company Address:</strong>
                  <textarea type="text" id="form3Example1cg" value="<?php echo e($companyinfo->address); ?>}" name="address" id="exampleFormControlTextarea1" rows="2" class="form-control form-control-lg" required ></textarea>
                   <?php $__errorArgs = ['address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                        <div class="alert alert-danger mt-1 mb-1"><?php echo e($message); ?></div>
                   <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                </div>

               
            </div>

           <div class="col-6 col-md-6 col-lg-6 col-xl-6 card-body p-8" >
                
              <div class="form-outline mb-3 ">
                    <strong>GST NO.:</strong>
                  <input type="text" id="form3Example1cg" value="<?php echo e($companyinfo->gst_no); ?>" name="gst_no" class="form-control form-control-lg" required />
                   <?php $__errorArgs = ['gst_no'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                        <div class="alert alert-danger mt-1 mb-1"><?php echo e($message); ?></div>
                   <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
              </div>  
              <div class="form-outline mb-3 ">
                    <strong>Bank Details:</strong>
                 <textarea type="text" id="form3Example1cg" rows="2" value="<?php echo e($companyinfo->bank_details); ?>" name="bank_details" class="form-control form-control-lg" required ></textarea>
                   <?php $__errorArgs = ['bank_details'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                        <div class="alert alert-danger mt-1 mb-1"><?php echo e($message); ?></div>
                   <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
              </div> 
              
               <div class="form-outline mb-3"> 
                        <strong>Terms and Condition</strong>
                       <textarea class="form-control" type="checkbox" value="<?php echo e($companyinfo->terms); ?>" rows="3" name="terms"  id="exampleFormControlTextarea1" required></textarea>
                   <?php $__errorArgs = ['terms'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                        <div class="alert alert-danger mt-1 mb-1"><?php echo e($message); ?></div>
                   <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
              </div>
              <div>
               <div class="">
                  <input type="file" id="avatar" value="<?php echo e($companyinfo->image); ?>" name="image" accept="image/png, image/jpeg" required>
               </div>
              </div>       
              <div style="margin-top: 20px;">
                 <div class="d-flex justify-content-center">
                   <button type="submit"
                    class="btn btn-info">Edit</button>                  
                 </div>
              </div>
                   
            </div>
                 
         </div>
      </div>
    </div>
  </div>
</section> 
</form>

    
  </main><!-- End #main -->

 <?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\Family\resources\views/frontend/company-info-edit.blade.php ENDPATH**/ ?>