|
|
@ -77,6 +77,9 @@ $(document).ready(function () { |
|
|
|
|
|
|
|
|
|
|
|
$('#modal-hr').on('show.bs.modal', function (event) { |
|
|
|
$('#modal-hr').on('show.bs.modal', function (event) { |
|
|
|
$('#modal-hr-title').html("Human Resource " + activityName); |
|
|
|
$('#modal-hr-title').html("Human Resource " + activityName); |
|
|
|
|
|
|
|
$('#modal-hr-sub-title').html(`<p style="font-size: 12px; color: #747474">Plan Date ${moment(activityEarlyStart).format('MM-DD-YYYY')} - ${moment(activityEarlyFinish).format('MM-DD-YYYY')}</p>`); |
|
|
|
|
|
|
|
$('#modal-hr-time-startDate').html("Minimum from " + moment(activityEarlyStart).format('MM-DD-YYYY')); |
|
|
|
|
|
|
|
$('#modal-hr-time-endDate').html("Maximum from " + moment(activityEarlyFinish).format('MM-DD-YYYY')); |
|
|
|
tableHr.draw(); |
|
|
|
tableHr.draw(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -84,7 +87,6 @@ $(document).ready(function () { |
|
|
|
$("#hide-form-hr").hide(); |
|
|
|
$("#hide-form-hr").hide(); |
|
|
|
$("#show-form-hr").show(); |
|
|
|
$("#show-form-hr").show(); |
|
|
|
if (actionHappen) { |
|
|
|
if (actionHappen) { |
|
|
|
console.log("there's action change"); |
|
|
|
|
|
|
|
updateActivity(activityId); |
|
|
|
updateActivity(activityId); |
|
|
|
} |
|
|
|
} |
|
|
|
resetFormAssign(); |
|
|
|
resetFormAssign(); |
|
|
|