Browse Source

Remove status update button when it's done

pull/1/head
Wahyu Ramadhan 2 years ago
parent
commit
fad5fe8ee4
  1. 1
      edit-mode/function/reportActivity.js

1
edit-mode/function/reportActivity.js

@ -88,6 +88,7 @@ $(document).ready(function () {
$('#report-activity-information-status').attr("class", "badge badge-warning"); $('#report-activity-information-status').attr("class", "badge badge-warning");
} else if(statusReport == 'done') { } else if(statusReport == 'done') {
$('#report-activity-information-status').attr("class", "badge badge-success"); $('#report-activity-information-status').attr("class", "badge badge-success");
$("#show_form_ra").hide();
} else if(statusReport == 'open') { } else if(statusReport == 'open') {
$('#report-activity-information-status').attr("class", "badge badge-primary"); $('#report-activity-information-status').attr("class", "badge badge-primary");
} }

Loading…
Cancel
Save