<div class="modal fade" tabindex="-1" id="purchase_request_approve_modal" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog " role="document">
    <div class="modal-content" >
      <div class="modal-header" style="background-color: #36a3f7;border-radius: 4px">
        <h5 class="modal-title" id="exampleModalLabel" style="color: #ffffff" >
          Approve Purchase Request
        </h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">
            &times;
          </span>
        </button>
      </div>
      <form data-form-type="purchase_request_approve_status" data-modal-id="purchase_request_approve_modal" autocomplete="off" id="edit_purchase_request_approve_form" method="post" action="<?php echo base_url().'purchase_request/approve_request'?>" enctype="multipart/form-data" class="m-form m-form--fit m-form--state m-form--label-align-right " >
        <div class="modal-body">
          <div class="m-form__content">
            <div class="m-alert m-alert--icon alert alert-warning m--hide" role="alert" id="form_material_add_msg">
              <div class="m-alert__icon">
                <i class="la la-warning"></i>
              </div>
              <div class="m-alert__text">
                Oh snap! Change a few things up and try submitting again.
              </div>
              <div class="m-alert__close">
                <button type="button" class="close" data-close="alert" aria-label="Close"></button>
              </div>
            </div>
          </div>
          <input type="hidden" name="request_id" id="purchase_request_id">
          <input type="hidden" name="approval_level" id="approval_level">
          <div class="row">
            <div class="col-lg-12">
              <div class="form-group m-form__group" >
                <div class="m-radio-inline" style="margin-top: 10px;">
                  <label class="m-radio m-radio m-radio--solid m-radio--state-success">
                    <input required type="radio" name="approve_status"  value="1" checked>
                    Approved
                    <span></span>
                  </label>
                  <label class="m-radio m-radio m-radio--solid m-radio--state-danger">
                    <input type="radio" name="approve_status"  value="2">
                    Rejected
                    <span></span>
                  </label>
                </div>
                <span class="m-form__help"></span>
              </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 form_submit_btn">
            Submit
          </button>
        </div>
      </form>
    </div>
  </div>
</div>
