@ -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 () {
});
@ -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"