Browse Source

Task #860q0ukhh change to add multiple

pull/1/head
Wahyu Ramadhan 2 years ago
parent
commit
60bd9cc5b0
  1. 4
      edit-mode/function/humanResource.js
  2. 2
      edit-mode/index.html

4
edit-mode/function/humanResource.js

@ -176,7 +176,7 @@ $(document).ready(function () {
}
$.ajax({
data: JSON.stringify(payload),
url: `${base_url}user-to-activity/add`,
url: `${base_url}user-to-activity/add-multiple`,
type: "POST",
processData: false,
contentType: false,
@ -206,4 +206,4 @@ $(document).ready(function () {
}
});
});
});
});

2
edit-mode/index.html

@ -128,7 +128,7 @@
<div class="form-row">
<div class="col-md-10 form-group">
<label>Human Resource</label>
<select id="select-hr" name="user_id" class="form-control form-control-sm" style="width:100%;"></select>
<select id="select-hr" name="user_id[]" multiple="multiple" class="form-control form-control-sm" style="width:100%;"></select>
</div>
<div class="col-md-2 form-group">
<button style="margin-top: 31px;" id="btn-assign-hr" type="submit"

Loading…
Cancel
Save