<!-- Modal ADD SALARY REPORT -->
<div class="modal fade" id="md_salary_slip_report" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  {{ Form::open(array('route' => 'report.salaryslip', '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">Salary Slip  Report</h5>
       
      </div>
      <div class="modal-body ">
        <div class = "card">
          <div class ="card-body form-fieldset">
            <div class="row">


            <div class="col-sm-12">
              <label class="label-color"> Select Date: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"></small>

            <div class="input-group mb-3">
                <select name="minute_sheet" class="form-control form-control-sm">
                    <option value="{{Crypt::encrypt(0)}}">Select Date</option>
                    @foreach($minute_sheet_list as $rows)
                   <option value="{{Crypt::encrypt($rows->id)}}">{{EF::showCustomDate($rows->date,'M-Y')}}</option>
                   @endforeach
                  
                  </select>
            </div>
          </div>

          <div class="col-sm-12">
              <label class="label-color"> Select User: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"></small>

            <div class="input-group mb-3">
                <select name="user" class="form-control form-control-sm">
                    <option value="{{Crypt::encrypt(0)}}">Select User</option>

                   @foreach($user_list as $rows)
                   <option value="{{Crypt::encrypt($rows->id)}}">{{$rows->name}} ({{$rows->type}})</option>
                   @endforeach
                  </select>
            </div>
          </div>

          <div class="col-sm-12">
              <label class="label-color"> Select Format: </label>
            <small class="form-errors pull-right" value=""></small>

            <div class="input-group mb-3">
                <select name="format" class="form-control form-control-sm">
                    <option value="{{Crypt::encrypt(0)}}">Select Format</option>
                   <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 salary report" >Generate</button>
      </div>
    </div>
  </div>
  {{ Form::close() }}
</div>
<!-- END MODAL ADD SALARY REPORT -->