<!-- Modal ADD Branch -->
<?php ($key_element = "ghi"); ?>
<div class="modal fade" id="md_due_installment_report" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <?php echo e(Form::open(array('route' => 'report.dueinstallment', 'class' => 'cls_form'))); ?>

  <div class="modal-dialog modal-md" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Due Installment Report</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true"></span>
        </button>
      </div>
      <div class="modal-body ">
        <div class = "card">
          <div class ="card-body form-fieldset">
                               <div class="row">


          <div class="col-sm-6">
              <label class="label-color">From:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first('date',":message")); ?></small>

            <div class="input-group mb-3">

              <?php echo e(Form::Date('from_date', '', ['class' => 'form-control form-control-sm  cls_date', 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>
          </div>

          <div class="col-sm-6">
            <label class="label-color">To:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first('date',":message")); ?></small>

            <div class="input-group mb-3">

              <?php echo e(Form::Date('to_date', '', ['class' => 'form-control form-control-sm  cls_date', 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>
          </div>

           <div class="col-sm-6">
            <label class="label-color"> Select <?php echo e(ucwords(str_replace('_',' ',$branch_labels['module']))); ?>:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first($branch_labels['module'],":message")); ?></small>
            <div class="input-group mb-3">
              <select id="branch_<?php echo e($key_element); ?>" onchange="getBookingList(this,'<?php echo e($key_element); ?>','<?php echo e(Crypt::encrypt(0)); ?>')" name="<?php echo e($branch_labels['module']); ?>" class="form-control form-control-sm">
                <option value="<?php echo e(Crypt::encrypt(0)); ?>">Select <?php echo e(ucwords($branch_labels['module'])); ?></option>
                <?php $__currentLoopData = $branch_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <option value="<?php echo e(Crypt::encrypt($rows->id)); ?>"><?php echo e(ucfirst($rows->name)); ?>

                  </option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              </select>
            </div>
          </div>
                  <div class="col-sm-6">
            <label class="label-color"> Select Booking:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first('category',":message")); ?></small>
            <div class="input-group mb-3">
              <select id="booking_<?php echo e($key_element); ?>" name="booking" class="form-control form-control-sm">
                <option value="<?php echo e(Crypt::encrypt(0)); ?>">Select Booking</option>
               
              </select>
            </div>
          </div>

           
           




          <div class="col-sm-12">
            <label class="label-color"> Select Format:</label>
            <small class="form-errors pull-right" value=""><?php echo e($errors->first('format',":message")); ?></small>
            <div class="input-group mb-3">

              <select name="format" class="form-control form-control-sm">
                <option value="0">PDF</option>
                <option value="1">EXCEL</option>
              </select>
            </div>
          </div>



        </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="generate due installment report">Generate</button>
      </div>
    </div>
  </div>
  <?php echo e(Form::close()); ?>

</div>
<!-- END MODAL ADD BRANCH -->
<?php /**PATH /var/www/skylite/resources/views/reports/modals/due_installment_report.blade.php ENDPATH**/ ?>