|
|
|
@ -77,6 +77,9 @@ $(document).ready(function () {
|
|
|
|
|
|
|
|
|
|
$('#modal-hr').on('show.bs.modal', function (event) { |
|
|
|
|
$('#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(); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -84,7 +87,6 @@ $(document).ready(function () {
|
|
|
|
|
$("#hide-form-hr").hide(); |
|
|
|
|
$("#show-form-hr").show(); |
|
|
|
|
if (actionHappen) { |
|
|
|
|
console.log("there's action change"); |
|
|
|
|
updateActivity(activityId); |
|
|
|
|
} |
|
|
|
|
resetFormAssign(); |
|
|
|
|