
<div class="modal fade" id="md_add_assign_allowance" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  {{ Form::open(array('route' => 'assignallowance.store', 'class' => 'cls_form', 'id' => 'form_add_assign_allowance')) }}
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Assign Allowance</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-12">
               <label class="label-color">Scale: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*">{{ $errors->first('scale',":message") }}</small>
            <div class="input-group mb-3">
                <select name="scale" class="form-control form-control-sm cls_selection">
                <option value="{{Crypt::encrypt(0)}}">Select Scale</option>
                @foreach($scale_list as $rows)
                    <option  value="{{Crypt::encrypt($rows->id)}}" >{{$rows->title}}</option>
                  
                @endforeach
              </select>

            </div>
          </div>

          <div class="col-sm-12">
               <label class="label-color"> Designation: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*">{{ $errors->first('designation',":message") }}</small>

            <div class="input-group mb-3">
            
               <select name="designation" class="form-control form-control-sm cls_selection">
                <option value="{{Crypt::encrypt(0)}}">Select Designation</option>
                @foreach($designation_list as $rows)
                    <option  value="{{Crypt::encrypt($rows->id)}}" >{{$rows->title}}</option>
                  
                @endforeach
              </select>
            </div>
          </div>
                 <div class="col-sm-12">
              <label class="label-color">Allowance: <i style = "color:red;">*</i></label>
          <small class="form-errors pull-right req" value="*">{{ $errors->first('allowance',":message") }}</small>
            <div class="input-group mb-3">
    <select name="allowance" class="form-control form-control-sm cls_selection">
                <option value="{{Crypt::encrypt(0)}}">Select Allowance</option>
                @foreach($allowance_list as $rows)
                    <option  value="{{Crypt::encrypt($rows->id)}}">{{$rows->title}}</option>
                  
                @endforeach
              </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="assign allowance">Assign Allowance</button>
      </div>
    </div>
  </div>
  {{ Form::close() }}
</div>