From fad5fe8ee484a7eab1c0b24e586aed14d7bc26d2 Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Tue, 23 May 2023 10:00:06 +0700 Subject: [PATCH] Remove status update button when it's done --- edit-mode/function/reportActivity.js | 1 + 1 file changed, 1 insertion(+) diff --git a/edit-mode/function/reportActivity.js b/edit-mode/function/reportActivity.js index 69e4d52..9d81000 100644 --- a/edit-mode/function/reportActivity.js +++ b/edit-mode/function/reportActivity.js @@ -88,6 +88,7 @@ $(document).ready(function () { $('#report-activity-information-status').attr("class", "badge badge-warning"); } else if(statusReport == 'done') { $('#report-activity-information-status').attr("class", "badge badge-success"); + $("#show_form_ra").hide(); } else if(statusReport == 'open') { $('#report-activity-information-status').attr("class", "badge badge-primary"); }