diff --git a/accessibility/templates/accessibility/accessibility.html b/accessibility/templates/accessibility/accessibility.html
index 7e7254cf6..5baaae1d5 100644
--- a/accessibility/templates/accessibility/accessibility.html
+++ b/accessibility/templates/accessibility/accessibility.html
@@ -85,12 +85,9 @@
$(this).closest('form').find('input[type=submit]').click();
value = $(this).is(':checked');
container = $('#{{accessibility}}formcontainer')
- console.log(typeof value)
if (value=='true') {
container.hide();
}else{
- console.log('false');
-
$(container).show();
}
">
@@ -120,7 +117,6 @@
$.ajax({
url: "{% url 'get-initial-accessibility-data' %}?feature={{accessibility}}",
success: function (response) {
- console.log(response)
for (let key in response) {
if (response.hasOwnProperty(key)) {
let values = response[key];
diff --git a/attendance/templates/attendance/attendance/attendance_empty.html b/attendance/templates/attendance/attendance/attendance_empty.html
index c6a7f054a..1086dd6bc 100644
--- a/attendance/templates/attendance/attendance/attendance_empty.html
+++ b/attendance/templates/attendance/attendance/attendance_empty.html
@@ -134,7 +134,6 @@
// Batch title change
function batchTitleChange(element) {
- console.log(element)
title = $(element).val()
batchId = $(element).data('id')
$('#updateTitleSpan').attr("hx-vals", `{"batch_id":"${batchId}","title":"${title}"}`)
diff --git a/attendance/templates/attendance/attendance/attendance_view.html b/attendance/templates/attendance/attendance/attendance_view.html
index 45d0f934c..9678c919f 100644
--- a/attendance/templates/attendance/attendance/attendance_view.html
+++ b/attendance/templates/attendance/attendance/attendance_view.html
@@ -96,7 +96,6 @@
// Batch title change
function batchTitleChange(element){
- console.log(element)
title = $(element).val()
batchId = $(element).data('id')
$('#updateTitleSpan').attr("hx-vals",`{"batch_id":"${batchId}","title":"${title}"}`)
diff --git a/attendance/templates/requests/attendance/view-requests.html b/attendance/templates/requests/attendance/view-requests.html
index 6beb9c756..6c25fae73 100644
--- a/attendance/templates/requests/attendance/view-requests.html
+++ b/attendance/templates/requests/attendance/view-requests.html
@@ -164,7 +164,6 @@
// Batch title change
function batchTitleChange(element){
- console.log(element)
title = $(element).val()
batchId = $(element).data('id')
$('#updateTitleSpan').attr("hx-vals",`{"batch_id":"${batchId}","title":"${title}"}`)
diff --git a/base/static/cbv/shift_request/shift_request_bulk_actions.js b/base/static/cbv/shift_request/shift_request_bulk_actions.js
index 5f88b1372..38faf0c6c 100644
--- a/base/static/cbv/shift_request/shift_request_bulk_actions.js
+++ b/base/static/cbv/shift_request/shift_request_bulk_actions.js
@@ -152,8 +152,6 @@ function shiftRequestDelete() {
// addIdsTab("allocatedselectedInstances");
ids.push($("#selectedInstances").attr("data-ids"));
ids = JSON.parse($("#selectedInstances").attr("data-ids"));
- console.log(ids)
- console.log('__________________________________________________________________________')
if (ids.length === 0) {
Swal.fire({
text: i18nMessages.noRowsSelected,
diff --git a/base/static/cbv/work_type_request/work_request_bulk_action.js b/base/static/cbv/work_type_request/work_request_bulk_action.js
index 4de74dad6..8a4c3b351 100644
--- a/base/static/cbv/work_type_request/work_request_bulk_action.js
+++ b/base/static/cbv/work_type_request/work_request_bulk_action.js
@@ -101,7 +101,6 @@ function handleRejectRequestsClick() {
cancelButtonText: i18nMessages.cancel,
}).then(function (result) {
if (result.isConfirmed) {
- console.log("hello")
ids = [];
ids.push($("#selectedInstances").attr("data-ids"));
ids = JSON.parse($("#selectedInstances").attr("data-ids"));
diff --git a/base/templates/cbv/mail_log_tab/iframe.html b/base/templates/cbv/mail_log_tab/iframe.html
index 998f1d520..d809a3e15 100644
--- a/base/templates/cbv/mail_log_tab/iframe.html
+++ b/base/templates/cbv/mail_log_tab/iframe.html
@@ -41,8 +41,6 @@
var logBody = "{{ log.body|escapejs }}";
var trimmedBody = logBody.trim();
var hasContent = trimmedBody.length > 0;
- console.log(hasContent)
-
if (hasContent) {
content = '
' + logBody + '
';
diff --git a/base/templates/cbv/rotating_work_type/forms/update_inherit.html b/base/templates/cbv/rotating_work_type/forms/update_inherit.html
index f807f85ca..06c150381 100644
--- a/base/templates/cbv/rotating_work_type/forms/update_inherit.html
+++ b/base/templates/cbv/rotating_work_type/forms/update_inherit.html
@@ -44,7 +44,6 @@
$('.oh-modal__close--custom').on('click', function() {
- console.log('Close button clicked');
//location.reload();
// Function to reload the record
diff --git a/leave/static/cbv/leave_requests/leave_requests.js b/leave/static/cbv/leave_requests/leave_requests.js
index def1080aa..f7a2e0331 100644
--- a/leave/static/cbv/leave_requests/leave_requests.js
+++ b/leave/static/cbv/leave_requests/leave_requests.js
@@ -110,9 +110,7 @@ function bulkApproveLeaveRequests() {
cancelButtonText: i18nMessages.cancel,
}).then(function (result) {
if (result.isConfirmed) {
- console.log("worked")
var hxVals = JSON.stringify(ids);
- console.log(hxVals)
$("#bulkApproveSpan").attr("hx-vals", `{"ids":${hxVals}}`);
$("#bulkApproveSpan").click();
}
diff --git a/leave/templates/cbv/employee_individual/leave_tab.html b/leave/templates/cbv/employee_individual/leave_tab.html
index 738595711..87a266461 100644
--- a/leave/templates/cbv/employee_individual/leave_tab.html
+++ b/leave/templates/cbv/employee_individual/leave_tab.html
@@ -323,7 +323,6 @@
window.location.href = event.target.href;
}
else{
- console.log(target)
console.log(event.target.href)
}
} else {
diff --git a/leave/templates/cbv/leave_allocation_request/detail_action.html b/leave/templates/cbv/leave_allocation_request/detail_action.html
index 6e04c2910..0e3216642 100644
--- a/leave/templates/cbv/leave_allocation_request/detail_action.html
+++ b/leave/templates/cbv/leave_allocation_request/detail_action.html
@@ -40,9 +40,8 @@
{% if request.GET.deleted %}
-
+
{% endif %}
diff --git a/leave/templates/cbv/leave_requests/leave_requests_home.html b/leave/templates/cbv/leave_requests/leave_requests_home.html
index 2371b9f88..60299da7b 100644
--- a/leave/templates/cbv/leave_requests/leave_requests_home.html
+++ b/leave/templates/cbv/leave_requests/leave_requests_home.html
@@ -260,7 +260,6 @@
window.location.href = event.target.href;
}
else{
- console.log(target)
console.log(event.target.href)
}
} else {
diff --git a/leave/templates/leave/leave_request/request_view.html b/leave/templates/leave/leave_request/request_view.html
index 46713a3fe..28c3ca3bb 100644
--- a/leave/templates/leave/leave_request/request_view.html
+++ b/leave/templates/leave/leave_request/request_view.html
@@ -370,7 +370,6 @@
window.location.href = event.target.href;
}
else {
- console.log(target)
console.log(event.target.href)
}
} else {
diff --git a/onboarding/templates/cbv/onboarding_candidates/onboarding_candidates.html b/onboarding/templates/cbv/onboarding_candidates/onboarding_candidates.html
index cbbd12714..fdbc639b6 100644
--- a/onboarding/templates/cbv/onboarding_candidates/onboarding_candidates.html
+++ b/onboarding/templates/cbv/onboarding_candidates/onboarding_candidates.html
@@ -150,7 +150,6 @@
function dateJoining($element){
var candId = $element.attr("data-candidate-id");
- console.log(candId);
var dateVal = $element.val();
$.ajax({
type: "POST",
diff --git a/onboarding/templates/onboarding/candidate_task.html b/onboarding/templates/onboarding/candidate_task.html
index 6ac774e73..f7397b243 100644
--- a/onboarding/templates/onboarding/candidate_task.html
+++ b/onboarding/templates/onboarding/candidate_task.html
@@ -106,7 +106,6 @@ function updateSingleStatus(selectElement,event) {
var taskId = $(selectElement).data("task-id");
var candId = $(selectElement).data('candidate-id');
var status = $(selectElement).val();
- console.log(status)
$.ajax({
type: "POST",
url: "{% url 'candidate-task-update' 0 %}".replace('0', taskId),
diff --git a/pms/static/cbv/360_feedback.js b/pms/static/cbv/360_feedback.js
index e913ed2b1..caaabcfe9 100644
--- a/pms/static/cbv/360_feedback.js
+++ b/pms/static/cbv/360_feedback.js
@@ -143,7 +143,6 @@ $(document).on('click', '#deleteFeedback', function (e) {
e.preventDefault();
var ids = JSON.parse($("#selectedInstances").attr("data-ids")) || [];
- console.log(ids)
var announy_ids = JSON.parse($("#anounyselectedInstances").attr("data-ids")) || [];
if (ids.length === 0 && announy_ids.length === 0) {
diff --git a/pms/static/src/dashboard/pmsChart.js b/pms/static/src/dashboard/pmsChart.js
index eb06702ca..9f51da15a 100644
--- a/pms/static/src/dashboard/pmsChart.js
+++ b/pms/static/src/dashboard/pmsChart.js
@@ -144,7 +144,6 @@ if (keyResultStatusChartCtx != null) {
}
function keyResultStatusDataUpdate(data) {
- console.log('keyresult',data)
keyResultStatusData.labels = data.key_result_label;
keyResultStatusData.datasets[0].data = data.key_result_value;
keyResultStatusData.message = data.message;
diff --git a/pms/templates/cbv/dashboard/current_value.html b/pms/templates/cbv/dashboard/current_value.html
index df1f73ea9..effdd007d 100644
--- a/pms/templates/cbv/dashboard/current_value.html
+++ b/pms/templates/cbv/dashboard/current_value.html
@@ -14,7 +14,6 @@
keyResultRow = $(element).closest('tr');
empKeyResultId = keyResultRow.attr("data-kr-id")
var targetValue = keyResultRow.find('[data-value]').attr("data-value")
- console.log(targetValue)
// Extract only the numeric part using a regular expression
var numericValue = parseFloat(targetValue.replace(/[^\d.]/g, ''));
diff --git a/pms/templates/okr/objective_detailed_view_activity.html b/pms/templates/okr/objective_detailed_view_activity.html
index 73aa8b16f..079229e24 100644
--- a/pms/templates/okr/objective_detailed_view_activity.html
+++ b/pms/templates/okr/objective_detailed_view_activity.html
@@ -174,8 +174,6 @@
}
})
- console.log($("#commentEditor .note-btn-group.send-group").parent())
-
// ✅ Align last group to right
$(document).ready(function () {
$('.note-toolbar .note-btn-group').last().addClass('send-group')
diff --git a/project/templates/task_all/task_all_overall.html b/project/templates/task_all/task_all_overall.html
index 15745b3e4..45e025075 100644
--- a/project/templates/task_all/task_all_overall.html
+++ b/project/templates/task_all/task_all_overall.html
@@ -112,7 +112,6 @@
newURL = currentURL + separator + "view="+view;
}
history.pushState({}, "", newURL);
- console.log(view)
$("#taskAllFilterForm").attr("hx-vals", `{"view":"${view}"}`);
$('#filter-task-all').attr("hx-vals", `{"view":"${view}"}`);
}
diff --git a/report/templates/report/pms_report.html b/report/templates/report/pms_report.html
index 6f77c6f44..d0ee193e2 100644
--- a/report/templates/report/pms_report.html
+++ b/report/templates/report/pms_report.html
@@ -292,8 +292,6 @@
$.getJSON(`pms-pivot?model=${selectedModel}&${formData}`, function (data) {
- console.log("Filtered data:", data);
-
const plotlyRenderers = $.pivotUtilities.plotly_renderers;
$("#" + containerId).pivotUI(data, {