<!-- Modal UPLOAD BOOKING DOCUMENT-->
<div class="modal fade" id="md_upload_booking_document" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <?php echo e(Form::open(array( 'route' => 'document.store','class' => 'cls_form' , 'enctype'=>'multipart/form-data'))); ?>

  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Upload Document</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">
                   <input type="hidden" name="booking_id" value="<?php echo e(Crypt::encrypt($booking->id)); ?>" />
            <input type="hidden" name="user_id" value="<?php echo e(Crypt::encrypt($user->id)); ?>" />
        <div class="row">

          <div class="col-sm-6">
            <label class="label-color">Title: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first('document_title',":message")); ?></small>
            <div class="input-group mb-3">
             
              <?php echo e(Form::Text('document_title', '', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => 'Document Title' , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>
          </div>

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

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

            </div>
          </div>

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

            <div class="input-group mb-3">
              <div class="input-group-prepend">
                <span class="input-group-text" id="inputGroup-sizing-default">
                  <i class="fa fa-camera "></i>
                </span>
              </div>
              <input type="file" name="document" class="form-control form-control-sm  btn-sm">
             <div class="input-group-prepend">
                <span class="input-group-text" id="inputGroup-sizing-default">
                  <i class ="userimage">PNG,JPG,JPEG,PDF</i>
                </span>
              </div>

            </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="upload document">Upload</button>
      </div>
    </div>
  </div>
  <?php echo e(Form::close()); ?>

</div>
<!-- END MODAL UPLOAD BOOKING DOCUMENT --><?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/booking/modals/upload_booking_document.blade.php ENDPATH**/ ?>