
<div class="modal fade" id="md_payable_report" tabindex="-1" role="dialog" aria-labelledby="exampleModallabel" aria-hidden="true">
  {{ Form::open(array('route' => 'report.payable', 'id' => 'form_payable', 'method' => 'GET' ,'class' => 'cls_from ', 'enctype' => 'multipart/form-data')) }}
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header header-margin">
        <h5 class="modal-title" id="exampleModallabel">Generate Payable 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-md-12">
                <label class="label-color">Select GRN <i style = "color:red;">*</i></label>
                    <div class="input-group mb-3">
                        <select name="grn" class="form-control form-control-sm cls_selection grn" id="b_id" >
                            <option value="{{Crypt::encrypt(0)}}">Select GRN</option>
                            @foreach($grn_list as $rows)
                                <option value="{{Crypt::encrypt($rows->id)}}">{{$rows->grn_number}}</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">Generate</button>
      </div>
    </div>
  </div>
  {{ Form::close() }}
</div>
