<!-- Modal UPDATE Commission -->
<div class="modal fade" id="md_update_installment" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <?php echo e(Form::open(array('route' => 'installment.update','id' => 'form_update_installment',  'class' => 'cls_form'))); ?>

  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Update Installment</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true"></span>
        </button>
      </div>
      <input type = "hidden" name="id" />
      <div class="modal-body">
        <div class="row">
                   <div class="col-sm-12">
                     <label class="label-color"> Description:</label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('description',":message")); ?></small>

            <div class="input-group mb-3">
           
                 <?php echo e(Form::text('description', '', ['class' => 'form-control form-control-sm  cls_alpha_numeric ', 'placeholder' => 'Description' , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>
          </div>
          <input type="hidden" name="id" />
    

            <div class="col-sm-12">
               <label class="label-color"> Amount: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('amount',":message")); ?></small>

            <div class="input-group mb-3">
           
              <?php echo e(Form::text('amount', '', ['class' => 'form-control form-control-sm   cls_required ', 'placeholder' => 'Amount' , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','onkeyup' => 'numberInWordsValue(this,"amount_in_words")'])); ?>

            </div>

          </div>
              <div class="col-sm-12">
                     <label class="label-color">Amount In Words  </label>
                  <small class="form-errors pull-right req" value=""><?php echo e($errors->first('amount_in_words',":message")); ?></small>
                   <div class="input-group mb-3">
             
              <input placeholder="Amount In  Words" type="text" name= "amount_in_words" readonly="" class="form-control-sm form-control amount_in_words" >
            </div>
                </div>

               <div class="col-sm-12">
                 <label class="label-color"> Due Date:</label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('due_date',":message")); ?></small>

            <div class="input-group mb-3">
           
                 <?php echo e(Form::Date('due_date', '', ['class' => 'form-control form-control-sm   cls_date', 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>

          </div>

     
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary cls_submit" content="update installment">Update</button>
      </div>
    </div>
  </div>
  <?php echo e(Form::close()); ?>

</div>
<!-- END MODAL UPDATE COMMISSION --><?php /**PATH /var/www/skylite/resources/views/installment/modals/update_installment.blade.php ENDPATH**/ ?>